cloud-fan opened a new pull request #23763: [SPARK-26861][SQL] deprecate typed 
sum/count/average
URL: https://github.com/apache/spark/pull/23763
 
 
   ## What changes were proposed in this pull request?
   
   These builtin typed aggregate functions are not very useful:
   1. users can just call the untyped ones and turn the resulting dataframe to 
a dataset. It has better performance.
   2. the typed aggregate functions have subtle different behaviors regarding 
empty input.
   
   I think we should get rid of these builtin typed agg functions and suggest 
users to use the untyped ones.
   
   However, these functions are still useful as a demo of the `Aggregator` API, 
so I copied them to the example module.
   
   ## How was this patch tested?
   
   N/A

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to