Inherited from Serializable
Inherited from Serializable
Inherited from Command
Inherited from LogicalPlan
Inherited from Logging
Inherited from QueryPlan[LogicalPlan]
Inherited from TreeNode[LogicalPlan]
Inherited from Product
Inherited from Equals
Inherited from AnyRef
Inherited from Any
Add Partition in ALTER TABLE: add the table partitions.
'partitionSpecsAndLocs': the syntax of ALTER VIEW is identical to ALTER TABLE, EXCEPT that it is ILLEGAL to specify a LOCATION clause. An error message will be issued if the partition exists, unless 'ifNotExists' is true.
The syntax of this command is:
ALTER TABLE table ADD [IF NOT EXISTS] PARTITION spec [LOCATION 'loc1']