I am a novice in DBT. I used the dbt_utils.geenrate_surrogate_key() macro and it compiles correctly, but generates all the outpu sql in one line. That in turn causes the linter (sqlfluff) to complain about long line.
I could edit the macro by hand to add some newlines, but that would be a non-maintainable hack. Is there an established way to deal with this problem?
I ended up writing my own macro to split lines of code into indented blocks.