Uploaded image for project: 'VXQuery (Retired)'
  1. VXQuery (Retired)
  2. VXQUERY-125

Query fails with predicates defined in square brackets

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      for $x in doc("book.xml")/bookstore/book/author[@id = "author1"]
      return $x/name/text()

      Exception in thread "main" edu.uci.ics.hyracks.algebricks.common.exceptions.NotImplementedException: NullableTypeComputer is not implented
      at org.apache.vxquery.xmlquery.query.XMLQueryCompiler$5.makeNullableType(XMLQueryCompiler.java:159)
      at edu.uci.ics.hyracks.algebricks.core.algebra.properties.TypePropagationPolicy$2.getVarType(TypePropagationPolicy.java:71)
      at edu.uci.ics.hyracks.algebricks.core.algebra.typing.PropagatingTypeEnvironment.getVarTypeFullList(PropagatingTypeEnvironment.java:67)
      at edu.uci.ics.hyracks.algebricks.core.algebra.typing.PropagatingTypeEnvironment.getVarType(PropagatingTypeEnvironment.java:48)
      at edu.uci.ics.hyracks.algebricks.core.jobgen.impl.JobGenHelper.mkRecordDescriptor(JobGenHelper.java:54)
      at edu.uci.ics.hyracks.algebricks.core.algebra.operators.physical.SubplanPOperator.contributeRuntimeOperator(SubplanPOperator.java:100)
      at edu.uci.ics.hyracks.algebricks.core.algebra.operators.logical.AbstractLogicalOperator.contributeRuntimeOperator(AbstractLogicalOperator.java:158)
      at edu.uci.ics.hyracks.algebricks.core.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:91)
      at edu.uci.ics.hyracks.algebricks.core.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:78)
      at edu.uci.ics.hyracks.algebricks.core.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:78)
      at edu.uci.ics.hyracks.algebricks.core.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:78)
      at edu.uci.ics.hyracks.algebricks.core.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:78)
      at edu.uci.ics.hyracks.algebricks.core.jobgen.impl.PlanCompiler.compileOpRef(PlanCompiler.java:78)
      at edu.uci.ics.hyracks.algebricks.core.jobgen.impl.PlanCompiler.compilePlan(PlanCompiler.java:54)
      at edu.uci.ics.hyracks.algebricks.compiler.api.HeuristicCompilerFactoryBuilder$1$1.createJob(HeuristicCompilerFactoryBuilder.java:100)
      at org.apache.vxquery.xmlquery.query.XMLQueryCompiler.compile(XMLQueryCompiler.java:191)
      at org.apache.vxquery.cli.VXQuery.runQueries(VXQuery.java:268)
      at org.apache.vxquery.cli.VXQuery.execute(VXQuery.java:161)
      at org.apache.vxquery.cli.VXQuery.main(VXQuery.java:121)
      2.54 real 1.59 user 0.13 sys

      Attachments

        Issue Links

          Activity

            People

              prestonc Preston Carman
              prestonc Preston Carman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: