drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Hsuan-Yi Chu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2441) Throw unsupported error message in case of inequality join
Date Fri, 13 Mar 2015 15:01:38 GMT

     [ https://issues.apache.org/jira/browse/DRILL-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Hsuan-Yi Chu updated DRILL-2441:
-------------------------------------
    Assignee: Aman Sinha  (was: Sean Hsuan-Yi Chu)

> 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
>         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)

Mime
View raw message