jayzhan211 commented on PR #11400: URL: https://github.com/apache/datafusion/pull/11400#issuecomment-2221821005
> If there was a way to configure those (via argument to invoke, etc) or replace the singletons with a pre-configured instance (or better yet, referencing the one in the FunctionFactory) that would solve the issue. How about overwrite existing function based on config? ``` set config.default register "to_timestamp" with default_function set config.spark register "to_timestamp" with spark_function set config.safe_mode register "to_timestamp" with safe_to_timestamp_function ``` We can also overwrite packaged functions base on config to overwrite them, like what we have now ```rust ``` -- 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]
