CreateTable Logical Operator¶
CreateTable is a logical operator that represents (is <
assertion failed: The table to be created must have a provider.
The optional <
CreateTable can never be resolved and is replaced (resolved) with a logical command at analysis phase in the following rules:
(for non-hive data source tables) DataSourceAnalysis posthoc logical resolution rule to a <
> or a < > logical command (when the < > was defined or not, respectively)
(for hive tables) hive/HiveAnalysis.md[HiveAnalysis] post-hoc logical resolution rule to a <
> or a hive/CreateHiveTableAsSelectCommand.md[CreateHiveTableAsSelectCommand] logical command (when < > was defined or not, respectively)
=== [[creating-instance]] Creating CreateTable Instance
CreateTable takes the following to be created:
CreateTable makes sure that the optional <
CreateTable throws an
assertion failed: create table without data insertion can only use ErrorIfExists or Ignore as SaveMode.