datafusion_expr::expr_fn

Function case

Source
pub fn case(expr: Expr) -> CaseBuilder
Expand description

Create a CASE WHEN statement with literal WHEN expressions for comparison to the base expression.