【发布时间】:2022-07-17 02:54:48
【问题描述】:
我正在尝试了解如何在创建 ExpectationConfiguration 对象时指定评估参数。
复制 重现行为的步骤:
我已按照说明使用 ExpectationConfiguration 创建期望:
我将 ExpectationConfiguration 定义如下:
expectation_configuration_2 = ExpectationConfiguration(
expectation_type="expect_column_distinct_values_to_be_in_set",
kwargs = {
"column" : "gameid",
"value_set" : {"$PARAMETER" : "runtime_values"}
},
meta={
"notes": {
"format": "markdown",
"content": "Ensures that certain values of gameid are included. **Markdown** `Supported`"
}
}
)
suite.add_expectation(expectation_configuration=expectation_configuration_2)
但我收到此错误:
great_expectations.exceptions.exceptions.EvaluationParameterError: No value found for $PARAMETER runtime_values
【问题讨论】: