[
https://issues.apache.org/jira/browse/HIVE-7265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Navis updated HIVE-7265:
------------------------
Attachment: HIVE-7265.1.patch.txt
> 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
> 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)