Ali Alsuliman created ASTERIXDB-2567:
----------------------------------------

             Summary: Exception encountered in serializing nullable record 
fields
                 Key: ASTERIXDB-2567
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2567
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: RT - Runtime
    Affects Versions: 0.9.4
            Reporter: Ali Alsuliman
            Assignee: Ali Alsuliman
             Fix For: 0.9.5


When serializing a record, a field should be checked if it's nullable. The 
value to be serialized should be checked if it's null or value to serialize it 
correctly.

The below query produces an exception.

 
{code:java}
[{"f1": "fieldStr", "f2": 1 < "text"}] ;
result: exception, ANull cannot be cast to ABoolean
{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to