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) {
throw new SQLParserInternalException(ex);
}
plan.setPlan(new AST((DMLStatementNode)stmt, null));
astStatementLoader.apply(plan);