计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
expectations-and-suites【效率与协作】Create and maintain Great Expectations expectation classes and suites, including parameters, row conditions, and custom subclasses.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a GX Core task is about choosing built-in Expectations, configuring threshold parameters, grouping Expectations into an ExpectationSuite, testing expectations against a small batch, or turning repeated checks into a custom Expectation subclass.
../contexts-and-configuration/SKILL.md first.../datasources-and-assets/SKILL.md first.ExpectationSuiteValidationResult, unexpected rows, and result format trade-offs, read ../validations-and-results/SKILL.md next.../checkpoints-actions-and-data-docs/SKILL.md next.references/expectation-api-patterns.md when selecting built-in gx.expectations classes, adding them to suites, or using severity, notes, meta, and result formats.references/row-conditions-and-parameters.md when an expectation needs $PARAMETER values, validation-time expectation_parameters, or row-level conditional logic.references/custom-expectations.md when repeated ad hoc checks should become a custom subclass with defaults and a clear description.references/troubleshooting.md when expectation instantiation, suite persistence, row conditions, parameters, or custom classes fail.scripts/build_suite_from_dataframe.py --help to see a tiny, safe dataframe workflow that builds a suite and can optionally validate it.import great_expectations as gx and use the class-first API under gx.expectations.gx.expectations.ExpectColumnValuesToNotBeNull(column="id"), rather than relying on legacy string-only configuration when writing new code.suite = gx.ExpectationSuite(name="..."), then call suite.add_expectation(expectation) for each unique expectation.DataContext should own it: context.suites.add(suite) for new suites, context.suites.add_or_update(suite) for replace/update workflows, and context.suites.get(name="...") to retrieve it.Batch before production use with batch.validate(expectation_or_suite, expectation_parameters=..., result_format=...).ExpectationSuite(name=...) requires a non-empty string.meta JSON-serializable and reserve credentials or machine-specific paths for context configuration, not expectation metadata.severity="critical", "warning", or "info" to communicate failure impact; downstream checkpoint actions can route on severity.$PARAMETER dictionaries only for expectation fields that accept runtime/suite parameters, and always document the required expectation_parameters keys near the suite.