[ 
https://issues.apache.org/jira/browse/HIVE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-3246:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10.0
     Release Note: This fix changes the internal representation of binary type 
within Hive. UDFs which were using binary type and making use of the fact that 
java representation of binary data in Hive is ByteArrayRef needs to be updated 
to reflect that now that representation is byte[] instead. Also note that this 
doesn't change the format for on-disk data.  (was: Makes the java primitive 
type for binary datatype - byte[]
)
     Hadoop Flags: Incompatible change
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Thejas!
                
> java primitive type for binary datatype should be byte[]
> --------------------------------------------------------
>
>                 Key: HIVE-3246
>                 URL: https://issues.apache.org/jira/browse/HIVE-3246
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3246.1.patch, HIVE-3246.2.patch
>
>
> PrimitiveObjectInspector.getPrimitiveJavaObject is supposed to return a java 
> object. But in case of binary datatype, it returns ByteArrayRef (not java 
> standard type). The suitable java object for it would be byte[]. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to