RulesTestHelper.ensureRowDefs(ais);
TestOperatorCompiler compiler = new TestOperatorCompiler();
compiler.initProperties(properties);
compiler.initAIS(ais, OptimizerTestBase.DEFAULT_SCHEMA);
compiler.initParser(parser);
compiler.initCostEstimator(new TestCostEstimator(ais, compiler.getSchema(), statsFile, false, properties));
compiler.initPipelineConfiguration(new PipelineConfiguration());
TypesRegistryServiceImpl typesRegistry = new TypesRegistryServiceImpl();
typesRegistry.start();
compiler.initTypesRegistry(typesRegistry);