snowflake.snowpark.CaseExpr¶
- class snowflake.snowpark.CaseExpr(expr: CaseWhen, *, _is_qualified_name: bool = False)[source]¶
Bases:
ColumnRepresents a CASE expression.
To construct this object for a CASE expression, call the
functions.when()specifying a condition and the corresponding result for that condition. Then, callwhen()andotherwise()methods to specify additional conditions and results.Examples:
Methods