Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2567

Exception encountered in serializing nullable record fields

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.4
    • Fix Version/s: 0.9.5
    • Component/s: RT - Runtime
    • Labels:
      None

      Description

      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.

       

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

       

        Attachments

          Activity

            People

            • Assignee:
              alsuliman Ali Alsuliman
              Reporter:
              alsuliman Ali Alsuliman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: