You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Selina Zhang (JIRA)" <ji...@apache.org> on 2014/05/06 04:00:18 UTC

[jira] [Created] (HIVE-7016) Hive returns wrong results when execute UDF on top of DISTINCT column

Selina Zhang created HIVE-7016:
----------------------------------

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


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)