datafusion_expr::expr_fn

Function when

Source
pub fn when(when: Expr, then: Expr) -> CaseBuilder
Expand description

Create a CASE WHEN statement with boolean WHEN expressions and no base expression.