[ 
https://issues.apache.org/jira/browse/HIVE-14623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15435686#comment-15435686
 ] 

Gopal V edited comment on HIVE-14623 at 8/24/16 9:06 PM:
---------------------------------------------------------

Why not jump on "IMPORT" instead of CREATE?

Instead of reading the _metadata/ folder, it could go to the self describing 
input format.


was (Author: gopalv):
Why not jump on "IMPORT" instead of CREATE?

> add CREATE TABLE FROM FILE command for self-describing formats
> --------------------------------------------------------------
>
>                 Key: HIVE-14623
>                 URL: https://issues.apache.org/jira/browse/HIVE-14623
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>
> For self-describing formats like ORC, it should be possible to create a table 
> from a file without explicitly specifying the schema. It would be useful for 
> debugging, but also for all kinds of ad-hoc activities with data (and I bet 
> someone will also use it for ETL, sadly ;)). 
> The schema should be established in metastore as the final schema for the 
> table; it should not be an attached+derived schema, like for Avro.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to