You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Ali Alsuliman (JIRA)" <ji...@apache.org> on 2019/05/15 02:59:00 UTC

[jira] [Created] (ASTERIXDB-2567) Exception encountered in serializing nullable record fields

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)