brancz commented on issue #12542: URL: https://github.com/apache/datafusion/issues/12542#issuecomment-2363812088
Ok found it. [This is the place](https://github.com/apache/datafusion/blob/8397855f24ce548fe53ed0d7a8bb4d9cbbeb866b/datafusion/physical-plan/src/aggregates/group_values/row.rs#L221-L233) where if the data is of an unexpected type, it's casted to the expected type. I think the right fix in that case is 1, adding support for nested schemas. -- 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...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org