Files.write(output, new File("/src/scratch/bytes/S.class"));
check(output);
DrillConfig c = DrillConfig.createClient();
SystemOptionManager m = new SystemOptionManager(c, new LocalPStoreProvider(c));
m.init();
QueryClassLoader ql = new QueryClassLoader(DrillConfig.create(), m);
ql.injectByteCode("org.apache.drill.Pickle$OutgoingBatch", output);
Class<?> clz = ql.loadClass("org.apache.drill.Pickle$OutgoingBatch");
clz.getMethod("x").invoke(null);