Coder Social home page Coder Social logo

Comments (3)

tools-soda avatar tools-soda commented on July 3, 2024

SAS-3526

from soda-core.

benjamin-pirotte avatar benjamin-pirotte commented on July 3, 2024

Hi,

Looking at your check, I am wondering if it is the expected behavior
missing_percent(my_column_name) < 100%, this means you are expecting all values to be null. In this case, it is not so it fails.

Aren't you looking for the following check: missing_percent(my_column_name) < 0% ?

from soda-core.

lewis-anderson53 avatar lewis-anderson53 commented on July 3, 2024

missing_percent(my_column_name) < 0% would ensure that I had 0 missing data and that single row was not NULL.
That's not my intention with this check, I want to make sure that at least some rows are non-NULL.

I lowered my threshold and looked at another column, to demonstrate. Here I will say that less than 65% NULL is acceptable, any higher and that's bad.

checks for my_table_name [daily]:
  - missing_percent(my_other_column_name) < 65%:
      name: Feature column my_other_column_name contains values that are not NULL

Which shows the following results:

AssertionError: Check results failed: 
[missing_percent(my_other_column_name) < 65%] FAIL (check_value: 73.92, row_count: 58335240, missing_count: 43121299)

My check_value here is rounded to 2 decimal places, further demonstrating potentially what my problem is.

from soda-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.