Comments (3)
SAS-3526
from soda-core.
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.
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)
- Add contract support for failed rows query HOT 1
- Add contract spark session API HOT 2
- Duplicate count check: on Oracle datasource wrong query to select failed rows HOT 3
- Contract identity issue HOT 5
- Issue connecting to db2 from soda-core HOT 3
- Yaml emitter error while executing scans concurrently HOT 6
- not able to install in databricks enviornment HOT 2
- Duckdb: schema metric not computed for db in file HOT 1
- Invalid configuration header: expected "data_source {data source name}" HOT 2
- Soda Core Trino 3.3.3 and 3.1.1 : Metrics 'schema' were not computed for check 'schema' HOT 1
- Spark partitioned tables HOT 2
- Issue to install soda-core-pandas-dask via Poetry in Windows HOT 2
- Migrate soda-core-athena to use newer PyAthena >= 3.0.10 HOT 1
- Enable more authentication options for Databricks data source HOT 2
- distutils is deprecated. distutils.util.strtobool needs replacement. HOT 2
- Spark paritition tables HOT 1
- ISO 8601 format check fails on valid dates. HOT 2
- Generate DDL from contract HOT 1
- markupsafe constraint conflicts with airflow v2.6.2+ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soda-core.