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 20:03:00 UTC

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

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ali Alsuliman resolved ASTERIXDB-2567.
--------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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. Exceptions could happen when the record is in an array.
> 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)