Skip to content
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 version 0.16 issue #16

Closed
dubravcik opened this issue Apr 29, 2020 · 2 comments
Closed

dbt version 0.16 issue #16

dubravcik opened this issue Apr 29, 2020 · 2 comments

Comments

@dubravcik
Copy link
Contributor

Hi, I upgraded dbt from 0.15.2 to 0.16.1 and dbt-sqlserver stopped working and I am confused by the error. I haven't found any duplicates in schema_test.sql

Running with dbt=0.16.1
Encountered an error:
Compilation Error
  dbt found two macros with the name "test_unique" in the namespace "dbt". Since these macros have the same name and exist in the same namespace, dbt will be unable to decide which to call. To fix this, change the name of one of these macros:
  - macro.dbt_sqlserver.test_unique (macros\schema_tests.sql)
  - macro.dbt_sqlserver.test_unique (macros\schema_tests.sql)

thanks

@mikaelene
Copy link
Collaborator

Hi! This adapter doesn’t support Dbt 0.16.x. Install dbt 0.15.x to solve this. I have tried to upgrade but changes in dbt internal makes it impossible to make tests work. One way is to release an adapter without support for tests. This will be fixed in 0.17 of dbt so I think I will pass on 0.16 for the adapter.

@mikaelene
Copy link
Collaborator

I have submitted a fix for this in dbt core but I think it will land in 0.17. dbt-labs/dbt-core#2414 . Closing this. Hopefully all will be good in 0.17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants