Skip to content

CreateTableAsSelect Logical Command

CreateTableAsSelect is a BinaryCommand with V2CreateTablePlan.

Creating Instance

CreateTableAsSelect takes the following to be created:

CreateTableAsSelect is created when:

Query Execution Planning

CreateTableAsSelect is planned to one of the following by DataSourceV2Strategy execution planning strategy (based on a CatalogPlugin this CreateTableAsSelect is executed against):

(Legacy) Logical Resolution

CreateTableAsSelect can be resolved to a CreateTableV1 logical operator by ResolveSessionCatalog logical resolution rule (for non-isV2Provider legacy providers).