You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/07/08 20:20:00 UTC
[jira] [Created] (IMPALA-9929) Unsupported subquery in select list
throws IllegalStateException instead of AnalysisException
Tim Armstrong created IMPALA-9929:
-------------------------------------
Summary: Unsupported subquery in select list throws IllegalStateException instead of AnalysisException
Key: IMPALA-9929
URL: https://issues.apache.org/jira/browse/IMPALA-9929
Project: IMPALA
Issue Type: Bug
Components: Frontend
Reporter: Tim Armstrong
Assignee: Shant Hovsepian
{noformat}
[localhost.EXAMPLE.COM:21000] default> explain select year, month, (year = 2010 and month > 11) or min(id) in (select int_col from functional.alltypestiny) from functional.alltypes;
Query: explain select year, month, (year = 2010 and month > 11) or min(id) in (select int_col from functional.alltypestiny) from functional.alltypes
ERROR: IllegalStateException: Invariant violated: Only subqueries that are guaranteed to return a single row are supported: (`year` = 2010 AND `month` > 11) OR min(id) IN (SELECT int_col FROM functional.alltypestiny)
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org