[
https://issues.apache.org/jira/browse/HIVE-16851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045784#comment-16045784
]
Ashutosh Chauhan commented on HIVE-16851:
-----------------------------------------
+1
> Scalar subquery with group by missing sq_count_check UDF
> --------------------------------------------------------
>
> Key: HIVE-16851
> URL: https://issues.apache.org/jira/browse/HIVE-16851
> Project: Hive
> Issue Type: Bug
> Reporter: Vineet Garg
> Assignee: Vineet Garg
> Attachments: HIVE-16851.1.patch
>
>
> Query such as
> {code:sql}
> explain select * from part where p_size > (select max(p_size) from part
> group by p_type);
> {code}
> is missing {{sq_count_check}} UDF which ensures there is at most one row
> coming from subquery.
> This problem was originally reported as part of HIVE-16793
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)