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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to