[ https://issues.apache.org/jira/browse/HIVE-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Chen updated HIVE-1218: ------------------------------- Component/s: (was: Metastore) Logging Affects Version/s: (was: 0.6.0) 0.7.0 Fix Version/s: (was: 0.8.0) Release Note: In 0.8.0, CREATE TABLE LIKE view_name creates a table by adopting the schema of view_name (fields and partition columns) using defaults for serde and file formats. Before 0.8.0, CREATE TABLE LIKE view_name would make a copy of the view. (was: From 0.8.0, CREATE TABLE LIKE view_name creates a table by adopting the schema of view_name (fields and partition columns) using defaults for serde and file formats. In Before 0.8.0, CREATE TABLE LIKE view_name would make a copy of the view.) > CREATE TABLE t LIKE some_view should create a new empty base table, but > instead creates a copy of view > ------------------------------------------------------------------------------------------------------ > > Key: HIVE-1218 > URL: https://issues.apache.org/jira/browse/HIVE-1218 > Project: Hive > Issue Type: Bug > Components: Logging > Affects Versions: 0.7.0 > Reporter: John Sichi > Assignee: Charles Chen > Attachments: HIVE-1218v0.patch, HIVE-1218v2.patch, HIVE-1218v3.patch, > HIVE-1218v4.patch, HIVE-1218v5.patch, HIVE-1218v6.patch, HIVE-1218v7.patch, > HIVE-1218v8.patch > > > I think it should copy only the column definitions from the view metadata. > Currently it is copying the entire descriptor, resulting in a new view > instead of a new base table. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira