Wail Y. Alkowaileet created ASTERIXDB-3395:
----------------------------------------------

             Summary: Pushing common array expressions throw an 
IllegalStateException
                 Key: ASTERIXDB-3395
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3395
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: COMP - Compiler
    Affects Versions: 0.9.10
            Reporter: Wail Y. Alkowaileet
            Assignee: Wail Y. Alkowaileet
             Fix For: 0.9.10


{noformat}
select 
field0h0[0].field0h2[0][0],field0h0[1].field3h2[1],field0h0[1].field0h2[1][1] 
from dataset1 order by id limit 10; {noformat}
{noformat}
SELECT COUNT(*) AS count FROM `data_collection` AS d WHERE (ANY e IN d.val1 
SATISFIES x=1 END) OR (ANY e IN d.val1 SATISFIES x=2 END); {noformat}
Both queries throw an exception at compile time
{noformat}
java.lang.IllegalStateException: Node ANY is not a child 
...
org.apache.asterix.optimizer.rules.pushdown.schema.ArrayExpectedSchemaNode.replaceChild(ArrayExpectedSchemaNode.java:53){noformat}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to