[
https://issues.apache.org/jira/browse/ASTERIXDB-3626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009692#comment-18009692
]
ASF subversion and git services commented on ASTERIXDB-3626:
------------------------------------------------------------
Commit b27cf13047220ff44a18487e6c9e7ddd2f0f6b6c in asterixdb's branch
refs/heads/master from Ritik Raj
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=b27cf13047 ]
[ASTERIXDB-3626][COMP] Restrict filter pushdown for array functions
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
Since array comparison is not supported for
filter-pushdown, hence restricting the functions
returning list as ResultTypeComputer.
Ext-ref: MB-67479
Change-Id: Ib3a4aa0715cf3b2fc0a1882d8b5114e88d0004f3
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20014
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
Tested-by: Ritik Raj <[email protected]>
> Restrict array comparison in filter pushdown
> --------------------------------------------
>
> Key: ASTERIXDB-3626
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3626
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: COMP - Compiler
> Affects Versions: 0.9.10
> Reporter: Ritik Raj
> Assignee: Ritik Raj
> Priority: Major
> Labels: triaged
> Fix For: 0.9.10
>
>
> {code:java}
> create collection col1 primary key (id: string);
> insert into col1 (
> [
> {"id": "1", "data": [1,2,3]},
> {"id": "2", "data": ["a", "b", "c"]},
> {"id": "3", "data": [1, "a", true]}
> ]
> );
> select * from col1 where data = [1, "a", true];
> // No output {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)