Andy Rosa created HIVE-13289:
--------------------------------

             Summary: LazyBinaryColumnarSerDe: 0 length VARCHAR values are 
serialized as NULL
                 Key: HIVE-13289
                 URL: https://issues.apache.org/jira/browse/HIVE-13289
             Project: Hive
          Issue Type: Bug
          Components: Serializers/Deserializers
    Affects Versions: 0.13.1, 0.12.0, 2.1.0
            Reporter: Andy Rosa


On the moment of implementation LazyBinaryColumnarSerDe Hive didn't have the 
VARCHAR type implemented. Serializing empty strings is implemented by writing 
INVALID_UTF__SINGLE_BYTE 
(https://github.com/apache/hive/commit/a266556f2bcf249af110035af1006e52f42046af#diff-aa353060bea2a72013021093b7e8a21cR86).
 During the implementation of the VARCHAR type this place was probably missed, 
and the VARCHAR type hadn't been added to that IF.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to