jayzhan211 commented on PR #11978: URL: https://github.com/apache/datafusion/pull/11978#issuecomment-2298832975
The issue is that we have only `ScalarValue` but no `DataType` to get the actual ArrayRef back. One of the solution is to store `DataType` in `MaxAccumulator` and call `to_array_of_type` to return `ArrayRef` as the output of `evaluate`, maybe `evaluate_as_array` to avoid breaking existing function. -- 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]
