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

snowflake.snowpark.CaseExpr.otherwise

CaseExpr.otherwise(value: Column | None | bool | int | float | str | bytearray | Decimal | date | datetime | time | bytes | list | tuple | dict) CaseExpr[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.5.0/src/snowflake/snowpark/column.py#L811-L816)

Sets the default result for this CASE expression.

else_() is an alias of otherwise().

语言: 中文