Currently, for partitioned tables we will declare the table and insert the data in different operations. This issue is to extend CTAS statement to support specifying partition columns.
For instance:
CREATE TABLE partition_ctas_1 PARTITIONED BY (key) AS SELECT value, key FROM src where key > 200 and key < 300;
- blocks
-
HIVE-14493 Partitioning support for materialized views
-
- Resolved
-
- links to