You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "Preston Carman (JIRA)" <ji...@apache.org> on 2014/10/23 00:15:35 UTC
[jira] [Commented] (VXQUERY-125) predicates defined in square
brackets
[ https://issues.apache.org/jira/browse/VXQUERY-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14180647#comment-14180647 ]
Preston Carman commented on VXQUERY-125:
----------------------------------------
Same issue.
> 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
> Labels: xmark
>
> 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)