snowflake.snowpark.functions.cast¶
- snowflake.snowpark.functions.cast(column: ColumnOrName, to: str | DataType) Column [source]¶
Converts a value of one data type into another data type. The semantics of CAST are the same as the semantics of the corresponding to datatype conversion functions. If the cast is not possible, an error is raised.