-
Notifications
You must be signed in to change notification settings - Fork 506
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
generate_surrogate_key
fails on SQL Server with one field
#827
Comments
Hi @jlkravitz ,
You will need to add length validations here and remove concat if the |
Oh great! I'm happy to take a stab at it. @vinit2107 Just out of curiosity as I learn this codebase, where can I find the code that dispatches this call to |
Hi @jlkravitz , |
Hi all, same error for the Micosoft Fabric Adapter. |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers. |
The culprit line is here: https://github.com/dbt-labs/dbt-utils/blob/6ba7b660b1d1b4e3b41cb0cf6c3c0e4a70ae54e4/macros/sql/generate_surrogate_key.sql#L27C35-L27C35
results in error
The text was updated successfully, but these errors were encountered: