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

Deprecated Warnings on Recency Test #712

Closed
1 of 5 tasks
jacksond80 opened this issue Oct 24, 2022 · 1 comment
Closed
1 of 5 tasks

Deprecated Warnings on Recency Test #712

jacksond80 opened this issue Oct 24, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jacksond80
Copy link

Describe the bug

After upgrading dbt core to v1.2.0, dbt_utils.recency tests throws deprecation warnings because it uses type_timestamp, current_timestamp and dateadd macros that are now part of dbt core.

Steps to reproduce

Run dbt test with at least one dbt_utils.recency test configured

Expected results

No deprecation warnings

Actual results

Three deprecation warnings for each recency test configured.

Screenshots and log output

image

System information

packages:
- package: dbt-labs/dbt_utils
version: 0.9.2

- git: "https://github.com/EqualExperts/dbt-unit-testing"
  revision: v0.2.3

Which database are you using dbt with?

  • postgres
  • redshift
  • bigquery
  • snowflake
  • other (specify: ____________)

The output of dbt --version:

Core:
  - installed: 1.2.0
  - latest:    1.3.0 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - snowflake: 1.2.0 - Update available!

  At least one plugin is out of date or incompatible with dbt-core.
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Additional context

Are you interested in contributing the fix?

@joellabes
Copy link
Contributor

@jacksond80 this should be resolved with utils 0.9.5, sorry about the delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants