v.25.8Improvement

Low-level errors during UDF execution now fail

Low-level errors during UDF execution now fail with error code UDF_EXECUTION_FAILED, whereas previously different error codes could be returned. #84547 (Xu Jia).
Low-level errors during user-defined function (UDF) execution now consistently fail with the error code UDF_EXECUTION_FAILED.

Why it matters

Previously, different error codes could be returned when UDFs encountered low-level execution errors, which made error handling and diagnostics more complex. This update standardizes error reporting by using a single, clear error code, simplifying debugging and improving user experience.

How to use it

No specific action is required from users to enable this behavior. When a UDF fails due to a low-level error, ClickHouse will automatically return the UDF_EXECUTION_FAILED error code.