You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2017/06/07 23:03:18 UTC

[jira] [Created] (HIVE-16851) Scalar subquery with group by missing sq_count_check UDF

Vineet Garg created HIVE-16851:
----------------------------------

             Summary: 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


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)