Preston Carman created VXQUERY-125:
--------------------------------------
Summary: predicates defined in square brackets
Key: VXQUERY-125
URL: https://issues.apache.org/jira/browse/VXQUERY-125
Project: VXQuery
Issue Type: Task
Reporter: Preston Carman
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)