Sorry for the silence here! It feels like this is a bug, so an issue on utils would be the thing to do: Issues · dbt-labs/dbt-utils · GitHub
I am out of office for the next 2.5 weeks - if you wanted to do some exploration on your own, I would poke around in here, and see whether you could work out why it’s triggering unnecessarily:
You could also try the utils 1.0 beta which replaces surrogate_key()
with generate_surrogate_key()
and doesn’t do this checking any more (if you give it a single string it’ll break).