[
https://issues.apache.org/jira/browse/ASTERIXDB-3627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014176#comment-18014176
]
ASF subversion and git services commented on ASTERIXDB-3627:
------------------------------------------------------------
Commit b946f3414ca91db052f6f105a2ccf3f2d8f69b24 in asterixdb's branch
refs/heads/master from Michael Blow
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=b946f3414c ]
Merge branch 'gerrit/ionic' into 'master'
* [ASTERIXDB-3627][OTH] Primary key missing from result
* [NO ISSUE][OTH] Adding getters to evaluator factories
* [ASTERIXDB-3601][STO] Fixing Merge failure
* [NO ISSUE][COMP] Remove check-unknown for Insert/Upsert on datasets with
meta part
* [ASTERIXDB-3601][STO] Remove unnecessary present column calculation for flush
* [NO ISSUE][COMP] Change plan to show RETAIN-UNTRUE for null placeholders
* [ASTERIXDB-3628][RT] Correct subplan profiles
* [ASTERIXDB-3601][STO] Fix calculation of presentColumns
* [ASTERIXDB-3601][FUNC] Added column-count function
* [ASTERIXDB-3392] Handle NULL/Empty types in Copy to parquet
* [ASTERIXDB-3392] Fix Hdfs tests
* [NO ISSUE][STO] Fixed multiple issue
* [NO ISSUE][HTTP][MISC] += ClusterStateManager.isPendingRemoval, HTTP stop
bind at shutdown
* [NO ISSUE][COMP] Add None as quote option for CSV in external collections
Change-Id: Ifbc5c7ec96e394910c57d4ffa97195073b9cc5e5
> 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)