Skip to main content

should_reject_function_behavior

Function should_reject_function_behavior 

Source
pub(crate) fn should_reject_function_behavior(
    behavior: &FunctionBehavior,
    kind: UdfKind,
) -> bool
Expand description

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.

TODO: revisit STABLE and VOLATILE once they get a meaning in RisingWave.