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

Vineet Garg reassigned HIVE-20310:
----------------------------------


> Scalar subquery throws error when hive.optimize.remove.sq_count_check is on
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-20310
>                 URL: https://issues.apache.org/jira/browse/HIVE-20310
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>
> *Reproducer*
> {code:sql}
> > create table tempty(i int);
> > create table t(c0 int);
> > explain select * from t where c0 > (select count(*) from tempty group by 1);
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to