# Great Expectations

Python data\-validation framework using reusable expectations, validation checkpoints and human\-readable results\.

ID: Q1069 · Revision: 1117

Type: software · License: GX Core is open source under Apache License 2\.0\.[^repo] · Status: active

Website: https://docs.greatexpectations.io/



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\.[^overview]

## 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\.[^overview]

## 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\.[^context]

## 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\.[^actions]

## 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\.[^results][^rows]

## 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\.[^repo][^compat][^context]

## Substitution considerations

GX Core can substitute for [Pandera](/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\.[^overview][^pandera][^actions]

## Capabilities and substitutions

### Reusable validation suites — supported

Associates expectations with selected batches through validation definitions\.[^overview]

Use case: Programmatic tabular data validation and validation reporting · Platforms: Python · Region: Version, build and integration requirements apply

### Checkpoint responses — supported

Configured actions can update documentation and route notifications based on results\.[^actions]

Use case: Programmatic tabular data validation and validation reporting · Platforms: Python · Region: Version, build and integration requirements apply

### Unexpected\-row reporting — limited

Result detail and row samples are configurable; uncapped retrieval is a separate interface limited to UnexpectedRowsExpectation\.[^results][^rows]

Use case: Programmatic tabular data validation and validation reporting · Platforms: Python · Region: Version, build and integration requirements apply

### [Substitute for Pandera](/pandera) — limited

Can replace Pandera for overlapping table\-quality assertions when a team wants GX batches, result records and checkpoint reporting\. Schemas and custom checks need rewriting; integration behavior is not identical\.[^overview][^actions][^pandera]

Use case: Programmatic tabular data validation and validation reporting · Platforms: Python · Region: Version, build and integration requirements apply

## References

[^overview]: [GX Core overview](<https://docs.greatexpectations.io/docs/core/introduction/gx_overview/>) — Expectations, batches, definitions and Data Docs (vendor; retrieved 2026-10-07T17:49:51Z)

[^repo]: [GX Core repository](<https://github.com/fivetran/great_expectations>) — Apache 2\.0 and supported Python versions (vendor; retrieved 2026-10-07T17:49:36Z)

[^context]: [Create a Data Context](<https://docs.greatexpectations.io/docs/core/set_up_a_gx_environment/create_a_data_context/>) — File and ephemeral persistence behavior (vendor; retrieved 2026-10-07T17:50:09Z)

[^actions]: [Create a checkpoint with actions](<https://docs.greatexpectations.io/docs/core/trigger_actions_based_on_results/create_a_checkpoint_with_actions/>) — Validation execution, notification severity and Data Docs actions (vendor; retrieved 2026-10-07T17:50:09Z)

[^results]: [Choose result format](<https://docs.greatexpectations.io/docs/core/trigger_actions_based_on_results/choose_a_result_format/>) — Summary default and unexpected\-row reporting limits (vendor; retrieved 2026-10-07T17:49:51Z)

[^rows]: [Retrieve all unexpected rows](<https://docs.greatexpectations.io/docs/core/run_validations/retrieve_all_unexpected_rows/>) — UnexpectedRowsExpectation\-only full retrieval and list\-of\-dictionaries output (vendor; retrieved 2026-10-07T17:50:09Z)

[^compat]: [GX compatibility reference](<https://docs.greatexpectations.io/docs/help/compatibility_reference/>) — Supported data sources including pandas, Spark and SQL platforms (vendor; retrieved 2026-10-07T17:49:42Z)

[^pandera]: [Pandera overview](<https://pandera.readthedocs.io/en/stable/>) — Dataframe validation schemas and checks (vendor; retrieved 2026-10-07T17:49:51Z)

Source revision: https://substitutefor.net/entities/Q1069?revision=1117
