improvement on distinct: distinguish distinct aggregate function from distinct
------------------------------------------------------------------------------
Key: HIVE-503
URL: https://issues.apache.org/jira/browse/HIVE-503
Project: Hadoop Hive
Issue Type: Improvement
Reporter: Min Zhou
distinct
# OK
{code:sql}
select
col
from
tbl
{code}
# FAILED
{code:sql}
select
col1,
col2
from
tbl
{code}
distinguish distinct aggregate function
# OK
{code:sql}
select
count(distinct col% 10)
from
tbl
{code}
# OK
{code:sql}
select
count(distinct col1% 10)
count(distinct col1% 9)
from
tbl
{code}
# OK
{code:sql}
select
count(distinct col1% 10)
count(distinct col2 % 9)
from
tbl
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.