You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Chun Chang (JIRA)" <ji...@apache.org> on 2014/05/16 22:37:17 UTC

[jira] [Commented] (DRILL-762) out join asserts

    [ https://issues.apache.org/jira/browse/DRILL-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14000272#comment-14000272 ] 

Chun Chang commented on DRILL-762:
----------------------------------

stack trace:
java.lang.AssertionError
	org.eigenbase.rel.rules.PushProjector.<init>(PushProjector.java:219) ~[optiq-core-0.7-20140513.013236-5.jar:na]
	org.eigenbase.rel.rules.PushProjectPastJoinRule.onMatch(PushProjectPastJoinRule.java:71) ~[optiq-core-0.7-20140513.013236-5.jar:na]
	org.eigenbase.relopt.volcano.VolcanoRuleCall.onMatch(VolcanoRuleCall.java:221) ~[optiq-core-0.7-20140513.013236-5.jar:na]
	org.eigenbase.relopt.volcano.VolcanoPlanner.findBestExp(VolcanoPlanner.java:653) ~[optiq-core-0.7-20140513.013236-5.jar:na]
	net.hydromatic.optiq.prepare.PlannerImpl.transform(PlannerImpl.java:271) ~[optiq-core-0.7-20140513.013236-5.jar:na]
	org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.convertToDrel(DefaultSqlHandler.java:107) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.getPlan(DefaultSqlHandler.java:87) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.planner.sql.DrillSqlWorker.getPlan(DrillSqlWorker.java:134) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.work.foreman.Foreman.runSQL(Foreman.java:338) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:186) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
	java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]


> out join asserts
> ----------------
>
>                 Key: DRILL-762
>                 URL: https://issues.apache.org/jira/browse/DRILL-762
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Chun Chang
>            Priority: Blocker
>
> The following out join asserts:
> 0: jdbc:drill:schema=dfs> select store.store_id, store.store_name, store.store_city, store.store_state, store.store_postal_code, store.store_country, region.region_id, region.sales_city from store full outer join region on store.region_id = region.region_id order by region.region_id;
> Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "9b8caa72-50a1-4ea5-8bb2-622a540ece67"
> endpoint {
>   address: "qa-node118.qa.lab"
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Failure while setting up Foreman. < AssertionError:[ Internal error: Error while applying rule PushProjectPastJoinRule, args [rel#46877:ProjectRel.NONE.ANY([]).[](child=rel#46876:Subset#2.NONE.ANY([]).[],store_id=$2,store_name=$3,store_city=$4,store_state=$5,store_postal_code=$6,store_country=$7,region_id=$9,sales_city=$10), rel#46875:JoinRel.NONE.ANY([]).[](left=rel#46873:Subset#0.ENUMERABLE.ANY([]).[],right=rel#46874:Subset#1.ENUMERABLE.ANY([]).[],condition==($1, $3),joinType=full)] ] < AssertionError"
> ]
> Error: exception while executing query (state=,code=0)
> 0: jdbc:drill:schema=dfs>



--
This message was sent by Atlassian JIRA
(v6.2#6252)