[ https://issues.apache.org/jira/browse/HIVE-7016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993438#comment-13993438 ]
Navis commented on HIVE-7016: ----------------------------- [~selinazh] You are right. Fail of testUniqueErrorCode is caused by that. Thanks. > Hive returns wrong results when execute UDF on top of DISTINCT column > --------------------------------------------------------------------- > > Key: HIVE-7016 > URL: https://issues.apache.org/jira/browse/HIVE-7016 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.12.0, 0.13.1 > Reporter: Selina Zhang > Assignee: Navis > Fix For: 0.14.0 > > Attachments: HIVE-7016.1.patch.txt > > > The following query returns wrong result: > select hash(distinct value) from table; > This kind of query should be identified as syntax error. However, Hive > ignores DISTINCT and returns the result. -- This message was sent by Atlassian JIRA (v6.2#6252)