beliefer opened a new pull request, #36325:
URL: https://github.com/apache/spark/pull/36325

   ### What changes were proposed in this pull request?
   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
   ```
   
   
   ### Why are the changes needed?
   Let DS V2 aggregate push-down supports group by expressions
   
   
   ### Does this PR introduce _any_ user-facing change?
   'No'.
   New feature.
   
   
   ### How was this patch tested?
   New tests
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to