Yifan Cai created CASSANALYTICS-209:
---------------------------------------

             Summary: Preserve empty (non-null) tuple and UDT field values on 
read
                 Key: CASSANALYTICS-209
                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-209
             Project: Apache Cassandra Analytics
          Issue Type: Bug
          Components: Reader
            Reporter: Yifan Cai


AbstractCqlTuple.deserializeTuple and CqlUdt.deserializeUdt decode a component 
with "length > 0 ? deserialize : null", so a zero-length value (empty text, 
ascii or blob) is read as NULL; in the wire format only length -1 means NULL. 
Exported rows therefore differ from what Cassandra stores. This change treats 
length >= 0 as present, for tuples and UDTs in all bridge versions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to