Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-3395

Pushing common array expressions throw an IllegalStateException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.10
    • 0.9.10
    • COMP - Compiler

    Description

      select field0h0[0].field0h2[0][0],field0h0[1].field3h2[1],field0h0[1].field0h2[1][1] from dataset1 order by id limit 10; 
      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); 

      Both queries throw an exception at compile time

      java.lang.IllegalStateException: Node ANY is not a child 
      ...
      org.apache.asterix.optimizer.rules.pushdown.schema.ArrayExpectedSchemaNode.replaceChild(ArrayExpectedSchemaNode.java:53)

       

      Attachments

        Activity

          People

            wyk Wail Y. Alkowaileet
            wyk Wail Y. Alkowaileet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: