datafusion_functions::core::expr_fn

Function nullif

Source
pub fn nullif(arg1: Expr, arg2: Expr) -> Expr
Expand description

Returns NULL if value1 equals value2; otherwise it returns value1. This can be used to perform the inverse operation of the COALESCE expression