hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9314) Writable object inspector should use Writable classes from Hadoop for get
Date Sun, 11 Jan 2015 01:02:36 GMT

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

Brock Noland updated HIVE-9314:
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15.0
           Status: Resolved  (was: Patch Available)

Thank you Jimmy! I have committed this to trunk!

> Writable object inspector should use Writable classes from Hadoop for get
> -------------------------------------------------------------------------
>
>                 Key: HIVE-9314
>                 URL: https://issues.apache.org/jira/browse/HIVE-9314
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>             Fix For: 0.15.0
>
>         Attachments: HIVE-9314.1.patch
>
>
> In WritableByteObjectInspector, we cast objects to org.apache.hadoop.hive.serde2.io.ByteWritable
 to get the value. We should use the hadoop one since org.apache.hadoop.hive.serde2.io.ByteWritable
extends the hadoop one.
> If customer OI uses the hadoop writable, in some queries, they could get class cast exception.



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

Mime
View raw message