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

snowflake.snowpark.functions.md5¶

snowflake.snowpark.functions.md5(e: Union[Column, str]) → Column[source]¶

Returns a 32-character hex-encoded string containing the 128-bit MD5 message digest.

Example:

>>> df = session.create_dataframe(["a", "b"], schema=["col"]).select(md5("col"))
>>> df.collect()
[Row(MD5("COL")='0cc175b9c0f1b6a831c399e269772661'), Row(MD5("COL")='92eb5ffee6ae2fec3ad71c777531578f')]
Copy