[jira] [Commented] (DRILL-2441) Throw unsupported error message in case of inequality join
[ https://issues.apache.org/jira/browse/DRILL-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14535690#comment-14535690 ] Victoria Markman commented on DRILL-2441: - Verified fixed in: 1.0.0 #Thu May 07 19:07:43 EDT 2015 git.commit.id.abbrev=79a712a 0: jdbc:drill:schema=dfs> select * from t1 left outer join t2 on (t1.a1 = t2.a2 and t1.b2 <> t2.b2); Error: SYSTEM ERROR: This query cannot be planned possibly due to either a cartesian join or an inequality join [Error Id: ee0aa885-1aca-419b-b5f0-65fd992451dc on atsqa4-133.qa.lab:31010] (state=,code=0) > Throw unsupported error message in case of inequality join > -- > > Key: DRILL-2441 > URL: https://issues.apache.org/jira/browse/DRILL-2441 > Project: Apache Drill > Issue Type: Bug > Components: Query Planning & Optimization >Reporter: Victoria Markman >Assignee: Aman Sinha > Labels: no_verified_test > Fix For: 0.8.0 > > Attachments: DRILL-2441.1.patch > > > Since we don't support inequality join, the whole class of queries will throw > huge page long "Can't plan exception" > This is a request to throw a nice error message that we throw in case of > cartesian join in these cases as well. > {code} > select * from t1 left outer join t2 on (t1.a1 = t2.a2 and t1.b2 <> t2.b2); > select * from t1 right outer join t2 on (t1.a1 = t2.a2 and t1.b2 <> t2.b2); > {code} > Example of an exception: > {code} > 0: jdbc:drill:schema=dfs> select * from t1 inner join t2 on(t1.b1 <> t2.b2); > Query failed: UnsupportedRelOperatorException: This query cannot be planned > possibly due to either a cartesian join or an inequality join > Error: exception while executing query: Failure while executing query. > (state=,code=0) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DRILL-2441) Throw unsupported error message in case of inequality join
[ https://issues.apache.org/jira/browse/DRILL-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14365784#comment-14365784 ] Aman Sinha commented on DRILL-2441: --- +1. Committed to master branch commit #: ae2053d2a > Throw unsupported error message in case of inequality join > -- > > Key: DRILL-2441 > URL: https://issues.apache.org/jira/browse/DRILL-2441 > Project: Apache Drill > Issue Type: Bug > Components: Query Planning & Optimization >Reporter: Victoria Markman >Assignee: Aman Sinha > Fix For: 0.9.0 > > Attachments: DRILL-2441.1.patch > > > Since we don't support inequality join, the whole class of queries will throw > huge page long "Can't plan exception" > This is a request to throw a nice error message that we throw in case of > cartesian join in these cases as well. > {code} > select * from t1 left outer join t2 on (t1.a1 = t2.a2 and t1.b2 <> t2.b2); > select * from t1 right outer join t2 on (t1.a1 = t2.a2 and t1.b2 <> t2.b2); > {code} > Example of an exception: > {code} > 0: jdbc:drill:schema=dfs> select * from t1 inner join t2 on(t1.b1 <> t2.b2); > Query failed: UnsupportedRelOperatorException: This query cannot be planned > possibly due to either a cartesian join or an inequality join > Error: exception while executing query: Failure while executing query. > (state=,code=0) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DRILL-2441) Throw unsupported error message in case of inequality join
[ https://issues.apache.org/jira/browse/DRILL-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360465#comment-14360465 ] Sean Hsuan-Yi Chu commented on DRILL-2441: -- Aman, can you help review? > Throw unsupported error message in case of inequality join > -- > > Key: DRILL-2441 > URL: https://issues.apache.org/jira/browse/DRILL-2441 > Project: Apache Drill > Issue Type: Bug > Components: Query Planning & Optimization >Reporter: Victoria Markman >Assignee: Sean Hsuan-Yi Chu > Attachments: DRILL-2441.1.patch > > > Since we don't support inequality join, the whole class of queries will throw > huge page long "Can't plan exception" > This is a request to throw a nice error message that we throw in case of > cartesian join in these cases as well. > {code} > select * from t1 left outer join t2 on (t1.a1 = t2.a2 and t1.b2 <> t2.b2); > select * from t1 right outer join t2 on (t1.a1 = t2.a2 and t1.b2 <> t2.b2); > {code} > Example of an exception: > {code} > 0: jdbc:drill:schema=dfs> select * from t1 inner join t2 on(t1.b1 <> t2.b2); > Query failed: UnsupportedRelOperatorException: This query cannot be planned > possibly due to either a cartesian join or an inequality join > Error: exception while executing query: Failure while executing query. > (state=,code=0) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)