You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "caofangkun (JIRA)" <ji...@apache.org> on 2011/07/29 08:48:09 UTC
[jira] [Created] (HIVE-2323) "create table target_table as select
* from source_table" the source_table's partitions are handled as columns
in the target_table
"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