Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hash algorithm SHA2 for Snowflake having defined hash_datatype "BINARY(32)" not working as expected #165

Closed
tkirschke opened this issue Apr 16, 2024 Discussed in #164 · 1 comment
Assignees

Comments

@tkirschke
Copy link
Member

Discussed in #164

Originally posted by migma-ciklum April 15, 2024
We've defined these variables in our dbt_project file (using 1.3.0 version of ScalefreeCOM/datavault4dbt):

  • datavault4dbt.hash: 'SHA2'
  • datavault4dbt.hash_datatype: 'BINARY(32)'

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!
BR

@tkirschke tkirschke self-assigned this Apr 16, 2024
@tkiehn
Copy link
Collaborator

tkiehn commented Jun 19, 2024

Solved by #174 as discussed in #164

@tkiehn tkiehn closed this as completed Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants