Skip to main content

Module create_function

Module create_function 

Source

Functionsยง

handle_create_function
reject_variant_in_udf_signature ๐Ÿ”’
Non-SQL UDFs exchange data via Arrow, which does not support VARIANT yet.
should_reject_function_behavior ๐Ÿ”’
IMMUTABLE is currently supported only for scalar UDFs, so every other kind of function rejects it. STABLE and VOLATILE are always treated as no-ops and pass through unchanged.
should_reject_unsafe_skip_materializing_exprs ๐Ÿ”’
unsafe_skip_materializing_exprs is read only when a scalar UDF call is planned, so every other kind of function rejects it instead of ignoring it.