Skip to content

DropNamespace Unary Logical Command

DropNamespace is a unary logical command.

DropNamespace is resolved to DropNamespaceExec physical operator by DataSourceV2Strategy execution planning strategy.

spark.sql.legacy.useV1Command

With spark.sql.legacy.useV1Command enabled (default: false), DropNamespace is resolved to DropDatabaseCommand logical command by ResolveSessionCatalog logical resolution rule.

Creating Instance

DropNamespace takes the following to be created:

DropNamespace is created when: