SetCatalogAndNamespace Logical Command¶
SetCatalogAndNamespace
is a UnaryCommand
that represents USE SQL statement.
Creating Instance¶
SetCatalogAndNamespace
takes the following to be created:
- Child LogicalPlan
SetCatalogAndNamespace
is created when:
AstBuilder
is requested to parse USE statement
Execution Planning¶
SetCatalogAndNamespace
is resolved to SetCatalogAndNamespaceExec physical command by DataSourceV2Strategy execution planning strategy.