edmondop commented on issue #11618: URL: https://github.com/apache/datafusion/issues/11618#issuecomment-2278752770
@jayzhan211 do you think we should start by adding an helper macro for pattern matching branches of UDF `invoke` that should never happen? ```rust udf_unreachable!() ``` that might create an [InternalError](https://github.com/apache/datafusion/blob/1e93f7fa2cb3b7bda71743e7ebe24999ff4d40a4/datafusion/common/src/error.rs#L91) ```rust DataFusionError::Internal("This branch of the UDF should never be executed since pre-requisites are checked through type_signature and return_type") ``` -- 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]
