-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Bug] Update tests: -> data_tests #65
Comments
Hi @kolbynelson thanks for raising this issue. Updating the That being said, the issue you are describing sounds like an unexpected behavior of dbt-core. I would expect while the Thanks! |
@kolbynelson it looks like dbt Labs was able to respond to the above dbt-core issue I opened and are suggesting you use the following command as opposed to dbt --warn-error-options '{"error": "all", "silence": ["TestsConfigDeprecation"]}' test This should resolve the compilation you are seeing and allow you to continue leveraging this solution prior to the Fivetran dbt packages being updated to support the new |
@kolbynelson let me know if the above addresses your concerns. As there is not something we will address here for the moment in the dbt package I will mark this as won't do. However, I will keep this open as we will plan to make this update in the future months. Thanks! |
Joe,
Thanks for looking into this and getting back to me. I tried the command given but it produces an error. We are actually using dbt Cloud, so this may be a difference in functionality? Does that command also support the `--exclude` flag?
Thanks,
Kolby
…________________________________
From: Joe Markiewicz ***@***.***>
Sent: Wednesday, June 12, 2024 6:44:25 AM
To: fivetran/dbt_google_ads ***@***.***>
Cc: Nelson, Kolby ***@***.***>; Mention ***@***.***>
Subject: Re: [fivetran/dbt_google_ads] [Bug] Update tests: -> data_tests (Issue #65)
@kolbynelson<https://urldefense.com/v3/__https://github.com/kolbynelson__;!!Cki1qOQyyykDL2Q!LahQjfPnzLbUc2rpRabjnKYg9DXdWXNF2a_USTPywQglC6fxY7cnSPdKr3A-Pd8HrDCL7dmE2yQYwl-MDWFPsCZLwafgmEJpzw$> let me know if the above addresses your concerns. As there is not something we will address here for the moment in the dbt package I will mark this as won't do. However, I will keep this open as we will plan to make this update in the future months. Thanks!
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/fivetran/dbt_google_ads/issues/65*issuecomment-2163049397__;Iw!!Cki1qOQyyykDL2Q!LahQjfPnzLbUc2rpRabjnKYg9DXdWXNF2a_USTPywQglC6fxY7cnSPdKr3A-Pd8HrDCL7dmE2yQYwl-MDWFPsCZLwacFODUlEw$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/BDRS7ROONLT5N4XCK473P43ZHBGDFAVCNFSM6AAAAABI647XEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGA2DSMZZG4__;!!Cki1qOQyyykDL2Q!LahQjfPnzLbUc2rpRabjnKYg9DXdWXNF2a_USTPywQglC6fxY7cnSPdKr3A-Pd8HrDCL7dmE2yQYwl-MDWFPsCZLwad6JhvakQ$>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @kolbynelson, I am sorry to hear that didn't work. Unfortunately I am not entirely familiar with the nuances of dbt Cloud in this context. I would recommend reviewing the suggestions from the issue I opened on dbt Core. It looks like there are a few other options you can take here as suggested by dbt Labs. If this doesn't work, I would advise commenting in the issue I created on dbt Labs to see if the folks there are able to provide guidance on possible next steps. |
Is there an existing issue for this?
Describe the issue
On dbt version 1.8+ the
tests:
config results in a warning and needs to be replaced with thedata_tests:
config.Relevant error log or model output
Expected behavior
Do not warn.
dbt Project configurations
version: '1.8.1'
Package versions
packages:
version: [">=0.10.0", "<0.11.0"]
version: [">=0.4.0", "<0.5.0"]
What database are you using dbt with?
snowflake
dbt Version
version: '1.8.1'
Additional Context
This is especially an issue when combined with the --warn-error flag. In order for dbt Cloud to send email notifications about test warnings we use the command
dbt --warn-error test
command. The rest of our tests do not run due to this deprecation warning in the package.Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: