hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3246) java primitive type for binary datatype should be byte[]
Date Tue, 10 Jul 2012 18:58:34 GMT

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

Edward Capriolo commented on HIVE-3246:
---------------------------------------

byte [] is not a primitive. I have no issue with the change but there must be a reason this
was done. Likely a performance issue.
                
> 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
>
> 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

        

Mime
View raw message