[
https://issues.apache.org/jira/browse/HIVE-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Chauhan updated HIVE-2380:
-----------------------------------
Attachment: hive-2380_3.patch
Attaching new patch which addresses John's two concerns. Added order-by in
union query and for
bq. But regarding "10111111", I don't think we should have any corner cases at
all in the set of binary strings which can be stored. That would just be a land
mine. Can you think of a solution?
Instead of special casing for the case of serializing zero length binary
throwing an exception. With that, if there ever is a case when user tries to
serialize a 0-length binary through BinaryColumnarSerde, we will throw an
exception. Now, there is no need of special casing in LazyBinaryColumnarSerde
and LazyBinaryColumnarSerde, so rolled back changes in those. Also, added a
unit test case testLazyBinaryColumnarSerdeWithEmpyBinary()to exercise this code
path.
> Add Binary Datatype in Hive
> ---------------------------
>
> Key: HIVE-2380
> URL: https://issues.apache.org/jira/browse/HIVE-2380
> Project: Hive
> Issue Type: New Feature
> Components: Serializers/Deserializers
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Attachments: hive-2380.patch, hive-2380_1.patch, hive-2380_2.patch,
> hive-2380_3.patch
>
>
> Add bytearray as a primitive data type.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira