Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 842481f

Browse files
committed
feat: fix md5_as_hex for snowflake
1 parent 98e847b commit 842481f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_diff/databases/snowflake.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def md5_as_int(self, s: str) -> str:
7777
return f"BITAND(md5_number_lower64({s}), {CHECKSUM_MASK}) - {CHECKSUM_OFFSET}"
7878

7979
def md5_as_hex(self, s: str) -> str:
80-
return f"md5_number_lower64({s})"
80+
return f"md5({s})"
8181

8282
def normalize_timestamp(self, value: str, coltype: TemporalType) -> str:
8383
if coltype.rounds:

0 commit comments

Comments
 (0)