AdamGS opened a new pull request, #17885:
URL: https://github.com/apache/datafusion/pull/17885

   ## Which issue does this PR close?
   
   - Related to https://github.com/apache/datafusion/issues/17849
   - #2408
   
   ## Rationale for this change
   
   Support `avg(decimal)`, see original PR 
https://github.com/apache/datafusion/issues/17849
   
   ## What changes are included in this PR?
   
   See original [PR](https://github.com/apache/datafusion/issues/17849):
   - DecimalDistinctAvgAccumulator implementation
   - Redid SLT tests to ensure single_distinct_to_groupby doesn't muddy the 
results
   - Fixed state_fields for Avg to account for DecimalDistinctAvgAccumulator 
having a different data type compared to eventual return type
   
   ## Are these changes tested?
   STL tests
   
   ## Are there any user-facing changes?
   No


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