comphead opened a new issue, #16903: URL: https://github.com/apache/datafusion/issues/16903
### Is your feature request related to a problem or challenge? Datafusion Comet encountered a migration issue when upgrading to DataFusion 49, caused by https://github.com/apache/datafusion/pull/16290 which introduces Utf8View and replaces Utf8 for `md5` function. Although the runtime behavior is mostly controlled via configuration parameters added in [PR #16809](https://github.com/apache/datafusion/pull/16809) we found that several function signatures have already been hardcoded to Utf8View. Specifically for Comet project the `Utf8View` support is still in progress and hardcoding `Utf8View` makes migrations harder, in this particular case we do a unnecessary cast back to `Utf8` It would be great to get more flexible support for `Utf8View` in DataFusion, ideally in a conditional or opt-in manner, and particularly in builtin functions where it is not feasible to access the `SessionContext` and make a return type by runtime configuration. Maybe we can think of `features` to build the DataFusion with or without Utf8View? Appreciate your thoughts Comet migration PR https://github.com/apache/datafusion-comet/pull/2040 Related to https://github.com/apache/datafusion/issues/16235 @alamb @andygrove @mbutrovich @zhuqi-lucas ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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.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