findepi commented on issue #12635: URL: https://github.com/apache/datafusion/issues/12635#issuecomment-2655964195
> downstream crates might need to override the default signature they would define own function either via implementation or via "simplify" (not covered by the current design) > define allowed coercible behavior. it's function role to declare what it accepts, it's engine role to define how arguments are fitted to a function call. this is called coercions. in some systems (eg Trino) coercions are pretty consistent and in some (eg Snowflake) are contextual: different for union, for equality for function calls. This complexity isn't going away, but my hope is that functions don't need to have that complexity baked into them. At least, so is the current plan. -- 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