[
https://issues.apache.org/jira/browse/ASTERIXDB-3627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009695#comment-18009695
]
ASF subversion and git services commented on ASTERIXDB-3627:
------------------------------------------------------------
Commit 776241159fea3affd6e68b99f0da3433daa0891a in asterixdb's branch
refs/heads/master from Peeyush Gupta
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=776241159f ]
[ASTERIXDB-3627][OTH] Primary key missing from result
- user model changes: no
- storage format changes: no
- interface changes: no
Ext-ref: MB-67595
(cherry picked from commit 80a41e247c)
Change-Id: I4d38712226778ef52aabacdcfe1e0b26e0d74bea
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20083
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
> 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)