You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (Jira)" <ji...@apache.org> on 2022/04/22 11:20:00 UTC
[jira] [Created] (SPARK-38997) DS V2 aggregate push-down supports group by expressions
jiaan.geng created SPARK-38997:
----------------------------------
Summary: DS V2 aggregate push-down supports group by expressions
Key: SPARK-38997
URL: https://issues.apache.org/jira/browse/SPARK-38997
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.4.0
Reporter: jiaan.geng
Currently, Spark DS V2 aggregate push-down only supports group by column.
But the SQL show below is very useful and common.
SELECT CASE WHEN ("SALARY" > 8000.00) AND ("SALARY" < 10000.00) THEN "SALARY" ELSE 0.00 END AS key, SUM("SALARY") FROM "test"."employee" GROUP BY key
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org