You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mohammad Kamrul Islam (JIRA)" <ji...@apache.org> on 2013/06/18 05:27:26 UTC

[jira] [Commented] (HIVE-3159) Update AvroSerde to determine schema of new tables

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

Mohammad Kamrul Islam commented on HIVE-3159:
---------------------------------------------

Copied from RB:

Problem:
Hive doesn't support to create a Avro-based table using HQL create table command. It currently requires to specify Avro schema literal or schema file name.
For multiple cases, it is very inconvenient for user.
Some of the un-supported use cases:
1. Create table ... <Avro-SERDE etc.> as SELECT ... from <NON-AVRO FILE>
2. Create table ... <Avro-SERDE etc.> as SELECT from <AVRO TABLE>
3. Create  table  without specifying Avro schema.

                
> Update AvroSerde to determine schema of new tables
> --------------------------------------------------
>
>                 Key: HIVE-3159
>                 URL: https://issues.apache.org/jira/browse/HIVE-3159
>             Project: Hive
>          Issue Type: Improvement
>          Components: Serializers/Deserializers
>            Reporter: Jakob Homan
>            Assignee: Mohammad Kamrul Islam
>
> Currently when writing tables to Avro one must manually provide an Avro schema that matches what is being delivered by Hive. It'd be better to have the serde infer this schema by converting the table's TypeInfo into an appropriate AvroSchema.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira