Closed
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #308 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 56 56
Lines 3218 3218
=========================================
Hits 3218 3218 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: riggggo <90137935+riggggo@users.noreply.github.com> Agent-Logs-Url: https://github.com/Quantco/dataframely/sessions/bbf5b5fb-f92b-4f77-a624-1b4b02c717b5
Copilot
AI
changed the title
[WIP] Explain how schema validation works with Dataframely
docs: Add schema validation feature guide
Mar 26, 2026
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.
No dedicated guide explained the schema validation pipeline in depth — only the quickstart covered basics.
New guide:
docs/guides/features/schema-validation.mdzip_code|min_length), primary key uniqueness, and custom@dy.rule()decorators, all evaluated in a single polars passvalidate(strict, raisesValidationError),filter(soft, returnsFailureInfo),is_valid(boolean, never raises)SchemaError(structural: missing/wrong-dtype columns) vsValidationError(content: rule violations);is_validsilently absorbs bothcast=Trueattempts dtype coercion before rules run; failed casts surface as<column>|dtypeentries inFailureInfoFailureInfomethods:counts,invalid,details(per-rowvalid/invalid/unknownbreakdown), andcooccurrence_countsvalidate/filteroutputAlso adds the guide as the first entry in
docs/guides/features/index.md.📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.