hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <>
Subject [jira] [Created] (HIVE-7265) BINARY columns use BytesWritable::getBytes() without ::getLength()
Date Fri, 20 Jun 2014 17:39:24 GMT
Gopal V created HIVE-7265:

             Summary: BINARY columns use BytesWritable::getBytes() without ::getLength()
                 Key: HIVE-7265
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.14.0
            Reporter: Gopal V
            Priority: Minor

The Text conversion for BINARY columns does 

    case BINARY:
        t.set(((BinaryObjectInspector) inputOI).getPrimitiveWritableObject(input).getBytes());
        return t;

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

View raw message