Great Expectations Python data-validation framework using reusable expectations, validation checkpoints and human-readable results.
Overview Great Expectations Core is a Python framework for describing expected data properties and validating batches against them. Reusable expectation suites, validation definitions and checkpoints organize the workflow, while Data Docs provide human-readable definitions and results.[1]
Contents Validation workflow A Data Source describes a connection, a Data Asset identifies a collection within it, and a Batch Definition determines which records to validate. Expectations express data requirements and can be grouped into reusable suites. A Validation Definition binds a suite to a batch definition. This separates the rules from the particular data selected for a run.[1]
Configuration persistence The Data Context provides access to configuration and results. A file-backed context persists across sessions, while an ephemeral context holds metadata in memory for the current Python session. Automatic context discovery can return an ephemeral context when no file context is found. A successful exploratory run therefore does not by itself establish that its configuration will be available to a later scheduled process.[3]
Checkpoints and reporting Checkpoints run validation definitions and then configured actions. Actions can update Data Docs or send notifications, including severity-based routing. Their configuration determines what happens after a failed check; the framework's ability to report a failure is distinct from whatever recovery logic a surrounding pipeline implements. The documented action list runs once per validation definition, which matters when designing notification volume.[4]
Result detail and failed rows Result formats range from boolean-only output to more detailed diagnostics, with summary as the default. Optional unexpected-row output is capped at 200 rows for supported expectation types. A separate get_unexpected_rows interface retrieves the full set only for UnexpectedRowsExpectation and returns a list of dictionaries. A detailed result should not be assumed to contain every failing record for every check.[5] [6]
Availability and licensing GX Core is Apache-2.0 licensed. The current repository documents Python 3.10 through 3.14 support, while individual setup pages can have narrower prerequisite text. The compatibility reference includes pandas, Spark and multiple SQL or object-storage sources. A listed source is evidence of an integration path, not proof that every expectation has identical behavior on every execution backend.[2] [3] [7]
Substitution considerations GX Core can substitute for Pandera for supported tabular assertions when reusable validation runs and documented results fit the project. Migration requires translating the checks and choosing how to select batches, store configuration and handle failures. It does not establish schema-file interchange or automatic repair of invalid data, and no execution test is claimed.[1] [4] [8]
Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.