Snowflake Native Apps: changes to hash values (Preview)

Attention

This behavior change is in the 2025_02 bundle.

For the current status of the bundle, refer to Bundle History.

When this behavior change bundle is enabled, the following changes will be implemented:

Before the change:

Snowflake uses SHA1 to calculate the hash value of query id, app name, or database name. A consumer could call the native SHA1() function to calculate the hash value.

After the change:

Snowflake uses HMAC to calculate the hash value of query id, app name, or database name. The consumer must call the SYSTEM$GET_HASH_FOR_APPLICATION function to calculate the hash value.

Ref: 1901