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

Incorrect query result for record constructor with MISSING value

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: COMP - Compiler
    • Labels:
      None

      Description

      Query

      FROM [{'a_a': 9, 'bb': missing, 'c': 33}] v SELECT v;
      

      returns incorrect result:

      { "v": { "a_a": 9, "c": 9 } }
      

      It should return

      { "v": { "a_a": 9, "c": 33 } }
      

        Attachments

          Activity

            People

            • Assignee:
              dlychagin-cb Dmitry Lychagin
              Reporter:
              dlychagin-cb Dmitry Lychagin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: