[
https://issues.apache.org/jira/browse/ASTERIXDB-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874012#comment-17874012
]
ASF subversion and git services commented on ASTERIXDB-3481:
------------------------------------------------------------
Commit 9d2873678e5223ad2a46c242686215b21574d033 in asterixdb's branch
refs/heads/master from Peeyush Gupta
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=9d2873678e ]
[ASTERIXDB-3481][COMP] Query taking more than 30s to compile
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
The issue was occuring due to incorrect de-serialization of
lists containing only nulls while applying constant folding rule.
Ext-ref: MB-63020
Change-Id: Ibd8173ce7d9f48650e6143cb7f3b02901f887d37
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18587
Reviewed-by: Ali Alsuliman <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
> simple query taking more than 30s compile
> -----------------------------------------
>
> Key: ASTERIXDB-3481
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3481
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: COMP - Compiler
> Reporter: Peeyush Gupta
> Priority: Major
>
> The following query takes a long time compile
> {noformat}
> select array_count(n) from [{"n":[null]},{"n":[null,null]}] as l;{noformat}
> The issue is with serializtion/deserialization of list in constant folding
> optimizer rule.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)