You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Dmitry Lychagin (JIRA)" <ji...@apache.org> on 2018/08/08 20:42:00 UTC

[jira] [Created] (ASTERIXDB-2439) SELECT v.* should not fail if v is not an object

Dmitry Lychagin created ASTERIXDB-2439:
------------------------------------------

             Summary: SELECT v.* should not fail if v is not an object
                 Key: ASTERIXDB-2439
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2439
             Project: Apache AsterixDB
          Issue Type: Improvement
          Components: COMP - Compiler
            Reporter: Dmitry Lychagin
            Assignee: Dmitry Lychagin


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)