Hash Surrogate Key Benchmark

This benchmark compares the join in Snowflake performance of surrogate keys generated via md5 versus surrogate keys generated via md5_number_lower64. Run this in a schema you have write permissions on and on a dedicated warehouse to avoid interference with the results. create or replace transient table benchmark_dim as select row_number() over (order by null) as natural_key ,…