Gopal V created HIVE-7265:
-----------------------------

             Summary: 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
            Priority: Minor


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)

Reply via email to