Skip to content

Commit 42c330c

Browse files
authored
[HWORKS-586] Upgrade great expectations to 0.14.13 (#1442)
1 parent d7126e6 commit 42c330c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

hopsworks-IT/src/test/ruby/spec/helpers/featurestore_validation_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def generate_template_validation_report()
9595
template_validation_result = generate_template_validation_result()
9696
{
9797
"evaluationParameters": "{}",
98-
"meta": "{\"great_expectations_version\":\"0.14.12\",\"expectation_suite_name\":\"expecations_suite_101\",\"run_id\":{\"run_time\":\"2022-03-11T13:06:24.481236+00:00\",\"run_name\":null},\"batch_kwargs\":{\"ge_batch_id\":\"0d0afc48-a13c-11ec-b113-020f94a1da7f\"},\"batch_markers\":{},\"batch_parameters\":{},\"validation_time\":\"20220311T130624.481059Z\",\"expectation_suite_meta\":{\"great_expectations_version\":\"0.14.12\"}}",
98+
"meta": "{\"great_expectations_version\":\"0.14.13\",\"expectation_suite_name\":\"expecations_suite_101\",\"run_id\":{\"run_time\":\"2022-03-11T13:06:24.481236+00:00\",\"run_name\":null},\"batch_kwargs\":{\"ge_batch_id\":\"0d0afc48-a13c-11ec-b113-020f94a1da7f\"},\"batch_markers\":{},\"batch_parameters\":{},\"validation_time\":\"20220311T130624.481059Z\",\"expectation_suite_meta\":{\"great_expectations_version\":\"0.14.13\"}}",
9999
"results": [template_validation_result],
100100
"success": false,
101101
"statistics": "{\"evaluated_expectations\":7,\"successful_expectations\":5,\"unsuccessful_expectations\":2,\"success_percent\":71.42857142857143}",

hopsworks-common/src/main/java/io/hops/hopsworks/common/featurestore/FeaturestoreConstants.java

+1
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,5 @@ private FeaturestoreConstants() {
157157
public static final String UNEXPECTED_PERCENT_KEY = "unexpected_percent";
158158
public static final String PARTIAL_UNEXPECTED_LIST_KEY = "partial_unexpected_list";
159159
public static final String UNEXPECTED_PERCENT_NONMISSING_KEY = "unexpected_percent_nonmissing";
160+
public static final String GREAT_EXPECTATIONS_META = "{\"great_expectations_version\": \"0.14.13\"}";
160161
}

hopsworks-common/src/main/java/io/hops/hopsworks/common/featurestore/datavalidationv2/suites/ExpectationSuiteDTO.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package io.hops.hopsworks.common.featurestore.datavalidationv2.suites;
1818

1919
import io.hops.hopsworks.common.api.RestDTO;
20+
import io.hops.hopsworks.common.featurestore.FeaturestoreConstants;
2021
import io.hops.hopsworks.common.featurestore.datavalidationv2.expectations.ExpectationDTO;
2122
import io.hops.hopsworks.persistence.entity.featurestore.featuregroup.datavalidationv2.Expectation;
2223
import io.hops.hopsworks.persistence.entity.featurestore.featuregroup.datavalidationv2.ExpectationSuite;
@@ -40,7 +41,7 @@ public class ExpectationSuiteDTO extends RestDTO<ExpectationSuiteDTO> {
4041
private String dataAssetType = null;
4142
private String expectationSuiteName;
4243
private List<ExpectationDTO> expectations;
43-
private String meta = "{\"great_expectations_version\": \"0.14.12\"}";
44+
private String meta = FeaturestoreConstants.GREAT_EXPECTATIONS_META;
4445
private String geCloudId = null;
4546
private ValidationIngestionPolicy validationIngestionPolicy = ValidationIngestionPolicy.ALWAYS;
4647
private boolean runValidation = true;

0 commit comments

Comments
 (0)