snowflake.snowpark.functions.to_binary¶
- snowflake.snowpark.functions.to_binary(e: Union[Column, str], fmt: Optional[str] = None) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/functions.py#L7627-L7651)¶
Converts the input expression to a binary value. For NULL input, the output is NULL.
Example: