snowflake.snowpark.CaseExpr¶
- class snowflake.snowpark.CaseExpr(expr: CaseWhen, *, _is_qualified_name: bool = False)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/column.py#L1515-L1596)¶
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