You are viewing documentation about an older version (1.16.0). View latest version

snowflake.snowpark.CaseExpr.otherwise

CaseExpr.otherwise(value: Union[Column, None, bool, int, float, str, bytearray, Decimal, date, datetime, time, bytes, NaTType, float64, list, tuple, dict]) CaseExpr[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/column.py#L819-L824)

Sets the default result for this CASE expression.

else_() is an alias of otherwise().

Language: English