Giter Club home page Giter Club logo

Comments (6)

danhphan avatar danhphan commented on July 23, 2024 1

Hi @clausherther I'm happy to work on this feature.

from dbt-expectations.

clausherther avatar clausherther commented on July 23, 2024 1

@danhphan that'd be amazing, thanks! 👏 Let me know if I can help with anything. I think we already have a couple of tests that implemented some sort of tolerance level.

from dbt-expectations.

danhphan avatar danhphan commented on July 23, 2024

Yes, let me look into the code base and its tests in more details. Thank you!

from dbt-expectations.

marcellovictorino avatar marcellovictorino commented on July 23, 2024

This is an amazing feature! Any updates?

from dbt-expectations.

sambloom92 avatar sambloom92 commented on July 23, 2024

@rlh1994 you can set tolerances for any test in terms of the absolute number of failing records:

- not_null:
  - config:
    - error_if: ">1000"
    - warn_if: ">500"
   

But it would be a nice enhancement if you could specify it as a proportion rather than an absolute number...

from dbt-expectations.

emishas avatar emishas commented on July 23, 2024

dbt-utils has this feature
https://github.com/dbt-labs/dbt-utils/tree/1.1.1/#not_null_proportion-source

              - dbt_utils.not_null_proportion:
                  at_least: 0.99

from dbt-expectations.

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.