Giter VIP home page Giter VIP logo

Comments (6)

emmyoop avatar emmyoop commented on June 12, 2024 2

@gwenwindflower I just verified this is happening when you run without partial parsing. It's actually the integration tests that get shipped with the package that are causing the deprecation warning.

from dbt-core.

dbeatty10 avatar dbeatty10 commented on June 12, 2024 2

@gwenwindflower I just verified this is happening when you run without partial parsing. It's actually the integration tests that get shipped with the package that are causing the deprecation warning.

To expand on this further, the warning will disappear if dbt is able to do partial parsing -- since it skips over parsing the YAML in that case, it won't "see" the deprecated name... 🙈 🙉 🙉.

You'll be able to get the warning back by adding the --no-partial-parse flag to any dbt command 🐵

from dbt-core.

gwenwindflower avatar gwenwindflower commented on June 12, 2024 1

Closing this as a non-issue, I was misreading the warning and misinterpreted the problem. Can confirm now that I understand and updated accordingly, the warning is gone. We are not in fact bubbling up warnings from packages.

from dbt-core.

roman-segador avatar roman-segador commented on June 12, 2024 1

@gwenwindflower not really. I did update everything in my project, so there is not a single test config there either in the dbt_project.yml or in the other yaml files where the tests are defined.

Only place were tests: exists is inside dbt_packages folder, it is, the packages code. In the tests that the packages have defined.

only way to get rid of that warning is by replacing inside dbt_packages all tests: by data_tests: which, of course, is just to confirm my hypothesis as that code shouldn't be modified.

from dbt-core.

roman-segador avatar roman-segador commented on June 12, 2024

@gwenwindflower are we sure about it? I'm updating to 1.8 and I'm getting the warning each single time. The only way I have to get rid of the warning is to manually update the config of the packages in the dbt_packages folder from tests to data_tests.

Please check the following example where:

  1. I get the warning
  2. I manually update the config on the dbt_packages folder (only manual update done outside of the console log in the screenshot)
  3. I run dbt clean to remove dbt_packages folder
  4. dbt deps to re-create the code from the packages
  5. I get the warning again at compile time.

image

Is there anything else outside of the warning being triggered from the packages I may be missing?
Thanks!

from dbt-core.

gwenwindflower avatar gwenwindflower commented on June 12, 2024

@roman-segador any chance you were updating the directory name and/or dbt_project.yml path and not the YAML config key names? that's what i was doing that had me confused.

from dbt-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.