[ 
https://issues.apache.org/jira/browse/ASTERIXDB-3627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014168#comment-18014168
 ] 

ASF subversion and git services commented on ASTERIXDB-3627:
------------------------------------------------------------

Commit 80a41e247ce465994bc9d3b053cd8ab1db0f6308 in asterixdb's branch 
refs/heads/master from Peeyush Gupta
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=80a41e247c ]

[ASTERIXDB-3627][OTH] Primary key missing from result

- user model changes: no
- storage format changes: no
- interface changes: no

Ext-ref: MB-67595

Change-Id: I4d38712226778ef52aabacdcfe1e0b26e0d74bea
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20040
Reviewed-by: Ali Alsuliman <ali.al.solai...@gmail.com>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>


> Primary key missing from result
> -------------------------------
>
>                 Key: ASTERIXDB-3627
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3627
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: OTH - Other
>            Reporter: Peeyush Gupta
>            Assignee: Peeyush Gupta
>            Priority: Major
>              Labels: triaged
>
> Some queries on collections created without type specification are missing 
> primary keys from the output.
> Steps to reproduce the issue
> {code:java}
> CREATE COLLECTION test PRIMARY KEY (id:String) 
> UPSERT INTO test {"id":"1", "name":"abc"} 
> SELECT [a] as b FROM test a{code}
> The output of the query only contains name and does not contain id field



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to