"create table target_table as select * from source_table" the source_table's
partitions are handled as columns in the target_table
-------------------------------------------------------------------------------------------------------------------------------------
Key: HIVE-2323
URL: https://issues.apache.org/jira/browse/HIVE-2323
Project: Hive
Issue Type: Bug
Components: Metastore
Affects Versions: 0.7.0
Reporter: caofangkun
Priority: Minor
CREATE TABLE user (userid INT, username STRING, age INT, country STRING)
PARTITIONED BY (day STRING, hour STRING);
CREATE TABLE user_bak AS SELECT * FROM user;
day and hour are partitions in table user;
but in the new table user_bak , day and hour are handled as two columns.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira