CreateTableAsSelect¶
CreateTableAsSelect is a CreateAsSelect that represents CREATE TABLE AS SELECT KSQL command.
In headless execution mode, CreateTableAsSelect is executed using StatementExecutor.
Creating Instance¶
CreateTableAsSelect takes the following to be created:
-
NodeLocation - Source Name
- Query
-
notExistsflag -
orReplaceflag - CreateSourceAsProperties
CreateTableAsSelect is created when:
StatementRewriter.Rewriteris requested tovisitCreateTableAsSelectAstBuilder.Visitoris requested to parse CREATE TABLE AS SELECT statement