incubator-vxquery-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preston Carman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VXQUERY-81) Query fails for comparison filter on a node
Date Tue, 02 Oct 2012 03:55:07 GMT
Preston Carman created VXQUERY-81:
-------------------------------------

             Summary: Query fails for comparison filter on a node
                 Key: VXQUERY-81
                 URL: https://issues.apache.org/jira/browse/VXQUERY-81
             Project: VXQuery
          Issue Type: Bug
            Reporter: Preston Carman
            Assignee: Vinayak Borkar


We discussed this is because of the plan not using the data function and data function only
being stubbed out.

Query: 
for $x in collection("/tmp/book")/bookstore/book
where data($x/price) gt 30
return $x

Error:
Exception in thread "main" edu.uci.ics.hyracks.api.exceptions.HyracksException: Job Failed
	at edu.uci.ics.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:183)
	at edu.uci.ics.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:42)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)
Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksException: Exception caught by thread:
edu.uci.ics.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor:TAID:TID:ANID:ODID:0:0:0:2:0
edu.uci.ics.hyracks.api.exceptions.HyracksDataException: edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException:
org.apache.vxquery.exceptions.SystemException: SYSE0001: 
	at edu.uci.ics.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.produceTuple(AssignRuntimeFactory.java:126)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.nextFrame(AssignRuntimeFactory.java:112)
	at edu.uci.ics.hyracks.dataflow.common.comm.util.FrameUtils.flushFrame(FrameUtils.java:38)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.appendToFrameFromTupleBuilder(AbstractOneInputOneOutputOneFramePushRuntime.java:47)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.nextFrame(AssignRuntimeFactory.java:113)
	at edu.uci.ics.hyracks.dataflow.common.comm.util.FrameUtils.flushFrame(FrameUtils.java:38)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:38)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:41)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:41)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:41)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:41)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:41)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:41)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.base.AbstractOneInputOneOutputOneFramePushRuntime.close(AbstractOneInputOneOutputOneFramePushRuntime.java:41)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.open(EmptyTupleSourceRuntimeFactory.java:56)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$1.initialize(AlgebricksMetaOperatorDescriptor.java:104)
	at edu.uci.ics.hyracks.control.nc.Task.run(Task.java:231)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)
Caused by: edu.uci.ics.hyracks.algebricks.common.exceptions.AlgebricksException: org.apache.vxquery.exceptions.SystemException:
SYSE0001: 
	at org.apache.vxquery.runtime.functions.base.AbstractTaggedValueArgumentScalarEvaluator.evaluate(AbstractTaggedValueArgumentScalarEvaluator.java:48)
	at edu.uci.ics.hyracks.algebricks.runtime.operators.std.AssignRuntimeFactory$1.produceTuple(AssignRuntimeFactory.java:124)
	... 19 more
Caused by: org.apache.vxquery.exceptions.SystemException: SYSE0001: 
	at org.apache.vxquery.runtime.functions.comparison.AbstractValueComparisonScalarEvaluatorFactory$1.transformThenCompareTaggedValues(AbstractValueComparisonScalarEvaluatorFactory.java:131)
	at org.apache.vxquery.runtime.functions.comparison.AbstractValueComparisonScalarEvaluatorFactory$1.evaluate(AbstractValueComparisonScalarEvaluatorFactory.java:85)
	at org.apache.vxquery.runtime.functions.base.AbstractTaggedValueArgumentScalarEvaluator.evaluate(AbstractTaggedValueArgumentScalarEvaluator.java:46)
	... 20 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 107
	at org.apache.vxquery.types.BuiltinTypeRegistry.getSchemaTypeById(BuiltinTypeRegistry.java:271)
	at org.apache.vxquery.runtime.functions.util.FunctionHelper.getBaseTypeForComparisons(FunctionHelper.java:507)
	at org.apache.vxquery.runtime.functions.util.FunctionHelper.compareTaggedValues(FunctionHelper.java:90)
	at org.apache.vxquery.runtime.functions.comparison.AbstractValueComparisonScalarEvaluatorFactory$1.transformThenCompareTaggedValues(AbstractValueComparisonScalarEvaluatorFactory.java:127)
	... 22 more


	at edu.uci.ics.hyracks.control.cc.scheduler.JobScheduler.notifyTaskFailure(JobScheduler.java:614)
	at edu.uci.ics.hyracks.control.cc.work.TaskFailureWork.performEvent(TaskFailureWork.java:36)
	at edu.uci.ics.hyracks.control.cc.work.AbstractTaskLifecycleWork.run(AbstractTaskLifecycleWork.java:66)
	at edu.uci.ics.hyracks.control.common.work.WorkQueue$WorkerThread.run(WorkQueue.java:115)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message