[
https://issues.apache.org/jira/browse/HIVE-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zheng Shao updated HIVE-509:
----------------------------
Attachment: HIVE-509.2.patch
I still think EXTERNAL should be specified when we create the new table.
"External" is just like the location where we store the table - we create a new
table "like" the old table in every aspect except where the data is stored.
Both "location" and "external" are descriptions of where the data is stored, so
I don't think they should be inherited.
Also, there is no "internal" keyword, which means there is no way to create an
internal table like an external table, if the proposed way is implemented. (I
don't think there is a way to alter a table to internal or external as well)
> Support CREATE TABLE a LIKE b
> -----------------------------
>
> Key: HIVE-509
> URL: https://issues.apache.org/jira/browse/HIVE-509
> Project: Hadoop Hive
> Issue Type: New Feature
> Affects Versions: 0.4.0
> Reporter: Zheng Shao
> Assignee: Zheng Shao
> Fix For: 0.4.0
>
> Attachments: HIVE-509.1.patch, HIVE-509.2.patch
>
>
> See http://dev.mysql.com/doc/refman/5.1/en/create-table.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.