Jefffrey commented on PR #21453:
URL: https://github.com/apache/datafusion/pull/21453#issuecomment-4273215782

   That's a good point; I believe the simplify API for UDAFs don't allow 
introducing a cast to the final result, so I guess it rules out that approach. 
It does make me wonder why `approx_distinct` and `count_distinct` return 
different types but I suppose that is a separate issue.


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