You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2020/08/11 16:21:00 UTC
[jira] [Resolved] (SPARK-32540) Eliminate filter clause in
aggregate
[ https://issues.apache.org/jira/browse/SPARK-32540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-32540.
---------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
Issue resolved by pull request 29369
[https://github.com/apache/spark/pull/29369]
> Eliminate filter clause in aggregate
> ------------------------------------
>
> Key: SPARK-32540
> URL: https://issues.apache.org/jira/browse/SPARK-32540
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: jiaan.geng
> Assignee: jiaan.geng
> Priority: Major
> Fix For: 3.1.0
>
>
> SQL like:
> {code:java}
> SELECT COUNT(DISTINCT 1) FILTER (WHERE true) FROM testData;
> {code}
> Could converted to
> {code:java}
> SELECT COUNT(DISTINCT 1) FROM testData;
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org