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
-
notExists
flag -
orReplace
flag - CreateSourceAsProperties
CreateTableAsSelect
is created when:
StatementRewriter.Rewriter
is requested tovisitCreateTableAsSelect
AstBuilder.Visitor
is requested to parse CREATE TABLE AS SELECT statement