[
https://issues.apache.org/jira/browse/ASTERIXDB-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895619#comment-17895619
]
ASF subversion and git services commented on ASTERIXDB-3522:
------------------------------------------------------------
Commit 663d14abae72a24f769bd937fca65cd67d76c770 in asterixdb's branch
refs/heads/master from Peeyush Gupta
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=663d14abae ]
[ASTERIXDB-3522][COMP] Invalid sample query generated
- user model changes: no
- storage format changes: no
- interface changes: no
Ext-ref: MB-64066
Change-Id: I5504e494c72dab692607f26d33839b280c4a3fcc
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19025
Tested-by: Jenkins <[email protected]>
Reviewed-by: Peeyush Gupta <[email protected]>
Reviewed-by: Vijay Sarathy <[email protected]>
Integration-Tests: Jenkins <[email protected]>
> Invalid sample query generated
> ------------------------------
>
> Key: ASTERIXDB-3522
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3522
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: COMP - Compiler
> Reporter: Peeyush Gupta
> Priority: Major
> Labels: triaged
>
> Following query when run with cbo generates an invalid sample query
>
> {noformat}
> {
> "t1": [1, 2, 3][int32("0")],
> "t2": [1, 2, 3][double("0")],
> "t3": [1, 2, 3][[0, 1][0]],
> "t4": [1, 2, 3][(select value 2)[0]],
> "t5": [1, 2, 3][(select value id from test where id = 1)[0]]
> };{noformat}
> Invalid initial sample query plan
> {noformat}
> distribute result [$$40] -- |UNPARTITIONED|
> aggregate [$$40] <- [agg-count(true)] -- |UNPARTITIONED|
> select (eq($$39, 1)) -- |UNPARTITIONED|
> aggregate [$$36] <- [listify($$39)] -- |UNPARTITIONED|
> select (true) -- |PARTITIONED|
> data-scan []<-[$$39, $$test] <- test.test.sample_idx_1_test --
> |PARTITIONED|
> empty-tuple-source -- |PARTITIONED|{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)