Mariamalmesfer opened a new pull request, #13721:
URL: https://github.com/apache/gluten/pull/13721

   ## What changes are proposed in this pull request?
   
   `ds.select(agg.toColumn)` currently falls back to Spark because Gluten 
cannot map Spark’s typed aggregate expression to a native UDAF.
   
   This change supports one global batch aggregate when AQE is not applied. The 
native UDAF must be registered under the aggregator’s exact JVM class name and 
match its single, non-nullable primitive input column and primitive result type.
   
   The partial stage writes one column of the registered intermediate type to a 
single-partition shuffle. The final stage reads that same column. If either 
stage cannot run in Velox, both use the original Spark aggregate.


-- 
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