snowflake.snowpark.functions.typeof¶
- snowflake.snowpark.functions.typeof(col: ColumnOrName) Column[source]¶
Reports the type of a value stored in a VARIANT column. The type is returned as a string.
For columns where all rows share the same type, the result of typeof is the underlying Snowflake column type.
Example:
For columns of VARIANT type, the underlying stored type is returned.
Example: