liukun4515 commented on issue #2067: URL: https://github.com/apache/arrow-datafusion/issues/2067#issuecomment-1079807670
> Another potential option is to use a user defined aggregate for sum0. Thanks. I will try these two methods. 1. replace `sum0` with `coalesce` or `case when` 2. udaf -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org