hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Updated] (HIVE-3246) java primitive type for binary datatype should be byte[]
Date Thu, 19 Jul 2012 17:14:35 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message