[
https://issues.apache.org/jira/browse/HIVE-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amareshwari Sriramadasu updated HIVE-474:
-----------------------------------------
Attachment: patch-474-2.txt
bq. Not a good idea to ignore skew for multiple distincts.
I agree.
Updated patch throws error when there are multiple distincts with skew in data.
Also, adds negative testcases.
> Support for distinct selection on two or more columns
> -----------------------------------------------------
>
> Key: HIVE-474
> URL: https://issues.apache.org/jira/browse/HIVE-474
> Project: Hive
> Issue Type: Improvement
> Components: Query Processor
> Reporter: Alexis Rondeau
> Assignee: Amareshwari Sriramadasu
> Attachments: hive-474.0.4.2rc.patch, patch-474-1.txt,
> patch-474-2.txt, patch-474.txt
>
>
> The ability to select distinct several, individual columns as by example:
> select count(distinct user), count(distinct session) from actions;
> Currently returns the following failure:
> FAILED: Error in semantic analysis: line 2:7 DISTINCT on Different Columns
> not Supported user
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.