You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "davidhewitt (via GitHub)" <gi...@apache.org> on 2025/02/12 13:57:43 UTC

Re: [I] Improve consistency and documentation on error handling in in UDFs [datafusion]

davidhewitt commented on issue #11618:
URL: https://github.com/apache/datafusion/issues/11618#issuecomment-2653788835

   I just got here after discovering that the `get_field` UDF returns `exec_err!` when passed an invalid argument type. (We treat `exec_err!` as 500 and `plan_err!` as 400 in Pydantic Logfire's backend).
   
   Currently its signature is `Signature::any`. Based on the discussion here, it sounds like the correct solution would be to update its signature to a more precise one?


-- 
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

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