-
Notifications
You must be signed in to change notification settings - Fork 72
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
dbt run --select=package:dbt_project_evaluator fails #480
Comments
Hi! Would you be able to check your |
If you install 0.12.3 you could also try to add this macro to your project and try with different values for the size of the
|
Compiled code tried with / without macro
|
Same issue with upgrading to 13.1 |
Thanks. As mentioned, we'd need the logs from |
Due to the potential sensitivity of the logs I've uploaded it to a repository & granted you access https://github.com/nickagel/logs |
I also upgraded to 1.8 to see if that helped. It's might be the combination of my table names + prefixes added by the evaluator is far too large & may need to be sliced at the 600 char limit |
Thanks for sharing the logs. I looked at it and the issue is that you have some I think that the problem comes from 2 tests on the same model that starts with Suggestions:
Let us know if you can managed testing those options and if it fixes the problem. |
Both of those options worked for me. Thank you 😄 Just curious if there is a plan to auto resolve extra long names for tests via the evaluator? |
We could technically truncate some fields to suppress the error, but I am quite reluctant to put that in place because the issue you face should only be faced by:
I feel that getting the test id/name shorter or using the relationships test workaround like I suggested before is actually a good thing for your project overall. |
Fair enough, maybe an error message would help for the future then for those using redshift & who don't come across this thread 🤷🏻 |
I faced this issue too. This proposed solution solved the issue for me:
|
Describe the bug
dbt run --select=package:dbt_project_evaluator fails. I'm using redshift and getting a
Database Error in model stg_nodes (models/staging/graph/stg_nodes.sql)
value too long for type character varying(600)
compiled Code at target/run/dbt_project_evaluator/models/staging/graph/stg_nodes.sql
Steps to reproduce
dbt run --select=package:dbt_project_evaluator
Expected results
successful run
Actual results
fail on creating stg_nodes table
Screenshots and log output
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:The text was updated successfully, but these errors were encountered: