Repository navigation
Nested checks warnings, sodacl export, jsonschema union handling (#1278) - #1654
Merged
Merged
Conversation
… backends (#1278) - Nested checks (required, type, SQL quality) now enforce on local/s3/gcs/azure (parquet, csv, json, delta), duckdb, iceberg, kafka, dataframe, databricks - On unsupported backends (Snowflake, BigQuery, Postgres, etc.) nested checks are reported as warnings, not silently dropped - Summary output folds checks sharing identical reasons: one line per reason with count and affected fields
Nested properties cannot be exported to Soda CL; a warning now lists them (first 5, then count of remaining).
…hes (#1278) Missing nested fields now fail with the full path (e.g. "Column 'customer.email' not found") instead of leaking Python errors. Boolean branches in JSON Schema anyOf/oneOf are now handled: false branches admit nothing and are dropped, true branches admit any value and import as unconstrained (string). Parquet type checks warn instead of pass, with corresponding documentation updates and test corrections.
- Array items in union warnings now use [] notation (k[] instead of k.items) for consistency with sodacl and test output - Both sodacl and jsonschema warnings now list up to 6 items in full; only 7+ are truncated to first 5 + 'and N others' (avoiding '1 others' grammar error) - Folded summary line puts fields before reason to match single-check format and avoid punctuation dependency
Split changelog to clarify added nested-property checking on DuckDB vs changed warning behavior. Removed redundant sodacl.md text about warnings since union warnings now come from the importer. Simplified parquet documentation to align with csv/json: no type checks are generated; errors surface as read failures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the three open points from issue #1278:
Nested checks now run on DuckDB-backed servers (local, s3, gcs, azure, duckdb, iceberg, kafka) and Spark backends. On unsupported backends they're reported as warnings.
export sodacl warns when nested properties are left out (Soda CL only checks top-level columns).
import jsonschema handles nullable anyOf/oneOf by unwrapping to the single non-null type, and warns about true union types.
See the three commits for detailed changes to each subsystem.