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 "Shant Hovsepian (Jira)" <ji...@apache.org> on 2020/08/22 03:03:00 UTC
[jira] [Resolved] (IMPALA-9929) Unsupported subquery in select list
throws IllegalStateException instead of AnalysisException
[ https://issues.apache.org/jira/browse/IMPALA-9929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shant Hovsepian resolved IMPALA-9929.
-------------------------------------
Fix Version/s: Impala 4.0
Resolution: Fixed
> 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
> Priority: Major
> Fix For: Impala 4.0
>
>
> {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