hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7265) BINARY columns use BytesWritable::getBytes() without ::getLength()
Date Mon, 23 Jun 2014 09:56:25 GMT

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

Ashutosh Chauhan updated HIVE-7265:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.14.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Navis!

> BINARY columns use BytesWritable::getBytes() without ::getLength()
> ------------------------------------------------------------------
>
>                 Key: HIVE-7265
>                 URL: https://issues.apache.org/jira/browse/HIVE-7265
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.14.0
>            Reporter: Gopal V
>            Assignee: Navis
>            Priority: Minor
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7265.1.patch.txt
>
>
> The Text conversion for BINARY columns does 
> {code}
>     case BINARY:
>         t.set(((BinaryObjectInspector) inputOI).getPrimitiveWritableObject(input).getBytes());
>         return t;
> {code}
> This omission was noticed while investigating a different String related bug, in a list
of functions which call getBytes() without calling getSize/getLength().



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

Mime
View raw message