You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "lewiszlw (via GitHub)" <gi...@apache.org> on 2026/06/15 08:27:13 UTC
[I] Avoid breaking changes for table function args [datafusion]
lewiszlw opened a new issue, #22952:
URL: https://github.com/apache/datafusion/issues/22952
### Describe the bug
We encountered several breaking changes for table function arguments. These changes break user-facing SQL.
We have some table functions like `tbf(a='x', b='x')`.
Last time someone added a simplifier to simplify argument expressions. This time someone added a change to coerce argument expressions https://github.com/apache/datafusion/pull/19915 .
https://github.com/apache/datafusion/blob/d428760d709a375f3d997c84e9c4748a22584149/datafusion/core/src/execution/session_state.rs#L1966-L1999
It seems these changes could be moved into the table function implementation or a method of `TableFunctionArgs::simplified_args()`. We could pass the original argument expressions into the `TableFunctionImpl::call()` method and let users to choose whether to simplify args.
### To Reproduce
_No response_
### Expected behavior
_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-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org