Hello
I am not sure where I should define base_expectation_suite_name
I’ve got an error when trying to run validation
"ValueError: base_expectation_suite_name must be configured in the validation operator or passed at runtime"
Hi I’m finding this one a bit confusing too but got a little further by adding the expectation suite name to the great_expectations.yml
as base_expectation_suite_name: my_suite_name
. As suggested here.
~I’m not quite getting the results I expected, or rather I’m seeing two suites (one for failure one for warning) rather than one.~
Creating a checkpoint and running great_expectations checkpoint run my_ceckpoint
gets the result I was after.
great_expectations/great_expectations.yml
validation_operators:
run_warning_and_failure_expectation_suites:
class_name: WarningAndFailureExpectationSuitesValidationOperator
base_expectation_suite_name: test
great_expectations/checkpoints/test.yml
batches:
- batch_kwargs:
path: ./data/test.csv
datasource: housing
data_asset_name: housing
expectation_suite_names:
- test.warning
- test.failure
This reference explains the configuration of this Validation Operator: https://docs.greatexpectations.io/en/latest/autoapi/great_expectations/validation_operators/index.html#great_expectations.validation_operators.WarningAndFailureExpectationSuitesValidationOperator
Please comment if you have issues after reading this, so that we can improve it. Thank you!