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

Rohini Palaniswamy commented on PIG-3558:
-----------------------------------------

[~daijy],
   We should allow storing bytearray as binary in ORC if user has not done a 
explicit cast. Even in AvroStorage pig bytearray is translated to avro 
Type.BYTES and stored and we don't throw an error. I don't see hive binary 
being any different than pig 
bytearray(https://cwiki.apache.org/confluence/display/Hive/Binary+DataType+Proposal
 - Sometimes, user is just interested in few of those columns and doesn't want 
to bother about exact type information for rest of columns. In such cases, he 
may just declare the types of those columns as binary and Hive will not try to 
interpret those columns.)

On a different note, can we have the class renamed to ORCStorage instead of 
OrcStorage as ORC is abbreviation of Optimized Row Columnar?

> ORC support for Pig
> -------------------
>
>                 Key: PIG-3558
>                 URL: https://issues.apache.org/jira/browse/PIG-3558
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>              Labels: porc
>             Fix For: 0.13.0
>
>         Attachments: PIG-3558-1.patch, PIG-3558-2.patch, PIG-3558-3.patch, 
> PIG-3558-4.patch, PIG-3558-5.patch
>
>
> Adding LoadFunc and StoreFunc for ORC.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to