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

SELECT v.* should not fail if v is not an object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • COMP - Compiler
    • None

    Description

      We need to clarify semantics of SELECT v.* when v is not an object

      1) SELECT v.* 
      should return an empty object if v is not an object
      2) SELECT v.*, a AS x 
      should return an object

      { "x": a }

      if v is not an object

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: