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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to