Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38852 Better Data Source V2 operator pushdown framework
  3. SPARK-38997

DS V2 aggregate push-down supports group by expressions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.3.0
    • SQL
    • None

    Description

      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

      Attachments

        Activity

          People

            beliefer Jiaan Geng
            beliefer Jiaan Geng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: