}
StoreAdapter adapter = store().createAdapter(session, SchemaCache.globalSchema(ais));
CreateAsCompiler compiler = new CreateAsCompiler(server, adapter, false, ais);
PlanContext plan = new PlanContext(compiler);
ASTStatementLoader astStatementLoader = new ASTStatementLoader();
AISBinder binder = new AISBinder(ais, table.getName().getSchemaName());
try {
binder.bind(stmt);
BooleanNormalizer booleanNormalizer = new BooleanNormalizer(parser);
stmt = booleanNormalizer.normalize(stmt);
SubqueryFlattener subqueryFlattener = new SubqueryFlattener(parser);
stmt = subqueryFlattener.flatten((DMLStatementNode)stmt);
} catch (StandardException ex) {