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

Hyukjin Kwon commented on SPARK-20747:
--------------------------------------

(I was looking through JIRAs) I also tested this. Looks we support this.

> Distinct in Aggregate Functions
> -------------------------------
>
>                 Key: SPARK-20747
>                 URL: https://issues.apache.org/jira/browse/SPARK-20747
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Xiao Li
>
> {noformat}
> AVG ([DISTINCT]|[ALL] <numeric expression>)
> MAX ([DISTINCT]|[ALL] <expression>)
> MIN ([DISTINCT]|[ALL] <expression>)
> SUM ([DISTINCT]|[ALL] <numeric_expression>)
> {noformat}
> Except COUNT, the DISTINCT clause is not supported by Spark SQL



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to