You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2016/08/19 18:44:20 UTC

[jira] [Commented] (SPARK-10746) count ( distinct columnref) over () returns wrong result set

    [ https://issues.apache.org/jira/browse/SPARK-10746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15428617#comment-15428617 ] 

Dongjoon Hyun commented on SPARK-10746:
---------------------------------------

Just as an update, Spark 2.0 now raises an exception for this case with an explicit error message "Distinct window functions are not supported".

> count ( distinct columnref) over () returns wrong result set
> ------------------------------------------------------------
>
>                 Key: SPARK-10746
>                 URL: https://issues.apache.org/jira/browse/SPARK-10746
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: N Campbell
>
> Same issue as report against HIVE (HIVE-9534) 
> Result set was expected to contain 5 rows instead of 1 row as others vendors (ORACLE, Netezza etc) would.
> select count( distinct column) over () from t1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org