Skip to content

CreateNamespaceExec Physical Command Operator

CreateNamespaceExec is a leaf V2CommandExec that represents CreateNamespace logical operator at execution (for non-session catalogs).

Executing Command

V2CommandExec
run(): Seq[InternalRow]

run is part of the V2CommandExec abstraction.

run requests the given SupportsNamespaces catalog to check if the multi-part namespace exists.

Unless the namespace exists, run requests the SupportsNamespaces catalog to create it (with the owner property being the current user).