Skip to content

CreateV2Table Logical Command

CreateV2Table is a logical command and a V2CreateTablePlan.

CreateV2Table is resolved to CreateTableExec physical command by DataSourceV2Strategy execution planning strategy.

Creating Instance

CreateV2Table takes the following to be created:

  • TableCatalog
  • Table Identifier
  • Table Schema
  • Partitioning (Seq[Transform])
  • Properties (Map[String, String])
  • ignoreIfExists flag

CreateV2Table is created when:


  rewritten: Seq[Transform]): V2CreateTablePlan

withPartitioning sets the partitioning to the given rewritten partitioning.

withPartitioning is part of the V2CreateTablePlan abstraction.