Skip to content

InsertIntoStatement

InsertIntoStatement is a UnaryParsedStatement.

Creating Instance

InsertIntoStatement takes the following to be created:

  • Table (LogicalPlan)
  • Partition Specification (Map[String, Option[String]])
  • User-specified column names
  • Query
  • overwrite flag
  • ifPartitionNotExists flag

InsertIntoStatement is created when:

Logical Resolution

InsertIntoStatement is resolved to the following logical operators:

Logical Analysis

InsertIntoStatements with UnresolvedCatalogRelations are resolved by the following logical analysis rules: