Skip to content

Commit

Permalink
[HWORKS-586] Upgrade great expectations to 0.14.13 (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
robzor92 authored Jun 13, 2023
1 parent d7126e6 commit 42c330c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def generate_template_validation_report()
template_validation_result = generate_template_validation_result()
{
"evaluationParameters": "{}",
"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\"}}",
"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\"}}",
"results": [template_validation_result],
"success": false,
"statistics": "{\"evaluated_expectations\":7,\"successful_expectations\":5,\"unsuccessful_expectations\":2,\"success_percent\":71.42857142857143}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,5 @@ private FeaturestoreConstants() {
public static final String UNEXPECTED_PERCENT_KEY = "unexpected_percent";
public static final String PARTIAL_UNEXPECTED_LIST_KEY = "partial_unexpected_list";
public static final String UNEXPECTED_PERCENT_NONMISSING_KEY = "unexpected_percent_nonmissing";
public static final String GREAT_EXPECTATIONS_META = "{\"great_expectations_version\": \"0.14.13\"}";
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package io.hops.hopsworks.common.featurestore.datavalidationv2.suites;

import io.hops.hopsworks.common.api.RestDTO;
import io.hops.hopsworks.common.featurestore.FeaturestoreConstants;
import io.hops.hopsworks.common.featurestore.datavalidationv2.expectations.ExpectationDTO;
import io.hops.hopsworks.persistence.entity.featurestore.featuregroup.datavalidationv2.Expectation;
import io.hops.hopsworks.persistence.entity.featurestore.featuregroup.datavalidationv2.ExpectationSuite;
Expand All @@ -40,7 +41,7 @@ public class ExpectationSuiteDTO extends RestDTO<ExpectationSuiteDTO> {
private String dataAssetType = null;
private String expectationSuiteName;
private List<ExpectationDTO> expectations;
private String meta = "{\"great_expectations_version\": \"0.14.12\"}";
private String meta = FeaturestoreConstants.GREAT_EXPECTATIONS_META;
private String geCloudId = null;
private ValidationIngestionPolicy validationIngestionPolicy = ValidationIngestionPolicy.ALWAYS;
private boolean runValidation = true;
Expand Down

0 comments on commit 42c330c

Please sign in to comment.