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

Ilya Kats commented on HIVE-6147:
---------------------------------

Thank you for a quick reply, Swarnim. I'll try to implement a custom 
AvroSchemaRetriever. However, I'm not quite clear on why the writer schema is 
necessarily loaded if the reader schema is provided. It is pretty common to use 
schema-less avro objects in HBase (if there are billions of rows with objects 
of the same type, it is not reasonable to store the same schema in all of them) 
and it is not convenient to write a customer schema retriever for each such 
case. So, I wonder if it is better to assume that the writer schema is equal to 
the reader schema if the former cannot be found neither in data nor via a 
customer retriever? 

> Support avro data stored in HBase columns
> -----------------------------------------
>
>                 Key: HIVE-6147
>                 URL: https://issues.apache.org/jira/browse/HIVE-6147
>             Project: Hive
>          Issue Type: Improvement
>          Components: HBase Handler
>    Affects Versions: 0.12.0, 0.13.0
>            Reporter: Swarnim Kulkarni
>            Assignee: Swarnim Kulkarni
>              Labels: TODOC14
>             Fix For: 0.14.0
>
>         Attachments: HIVE-6147.1.patch.txt, HIVE-6147.2.patch.txt, 
> HIVE-6147.3.patch.txt, HIVE-6147.3.patch.txt, HIVE-6147.4.patch.txt, 
> HIVE-6147.5.patch.txt, HIVE-6147.6.patch.txt
>
>
> Presently, the HBase Hive integration supports querying only primitive data 
> types in columns. It would be nice to be able to store and query Avro objects 
> in HBase columns by making them visible as structs to Hive. This will allow 
> Hive to perform ad hoc analysis of HBase data which can be deeply structured.



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

Reply via email to