Skip to content

CreateNamespace Unary Logical Operator

CreateNamespace is a unary logical operator (UnaryCommand) that represents the following high-level operator in logical query plans:

Creating Instance

CreateNamespace takes the following to be created:

  • Name (LogicalPlan)
  • ifNotExists flag
  • Properties (Map[String, String])

CreateNamespace is created when:

Resolution Rules

CreateNamespace is resolved using the following resolution rules:

Resolution Rule Operator
ResolveSessionCatalog logical analysis rule for the session catalog (spark_catalog) CreateDatabaseCommand logical command
DataSourceV2Strategy execution planning strategy CreateNamespaceExec physical command