Hash algorithm SHA2 for Snowflake having defined hash_datatype "BINARY(32)" not working as expected #164
-
We've defined these variables in our dbt_project file (using 1.3.0 version of ScalefreeCOM/datavault4dbt):
But when running our models against Snowflake, our hash keys and hash diffs will turn out to be BINARY(8388608) instead of BINARY(32). Is there a way to make the hash keys and hash diffs use the defined datavault4dbt.hash_datatype, including the length? Thanks in advance for your help and feedback! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @migma-ciklum and thanks for reaching out! I think I found the issue in the Snowflake Hashing. I implemented a potential fix in this branch. Could you install it in your project and check if this fixes it for you? In your packages.yml, just change it to this to install from a custom branch:
Best regards, |
Beta Was this translation helpful? Give feedback.
Answered and Solved with #174 .
Thanks @migma-ciklum for your contribution!