[
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: [email protected]
For additional commands, e-mail: [email protected]