great-expectations-cloud 20250923.0.dev1__py3-none-any.whl → 20251124.0.dev1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- great_expectations_cloud/agent/actions/generate_data_quality_check_expectations_action.py +4 -5
- {great_expectations_cloud-20250923.0.dev1.dist-info → great_expectations_cloud-20251124.0.dev1.dist-info}/METADATA +4 -3
- {great_expectations_cloud-20250923.0.dev1.dist-info → great_expectations_cloud-20251124.0.dev1.dist-info}/RECORD +6 -6
- {great_expectations_cloud-20250923.0.dev1.dist-info → great_expectations_cloud-20251124.0.dev1.dist-info}/WHEEL +1 -1
- {great_expectations_cloud-20250923.0.dev1.dist-info → great_expectations_cloud-20251124.0.dev1.dist-info}/entry_points.txt +0 -0
- {great_expectations_cloud-20250923.0.dev1.dist-info → great_expectations_cloud-20251124.0.dev1.dist-info/licenses}/LICENSE +0 -0
|
@@ -205,7 +205,7 @@ class GenerateDataQualityCheckExpectationsAction(
|
|
|
205
205
|
metric_list=[
|
|
206
206
|
MetricTypes.TABLE_COLUMNS,
|
|
207
207
|
MetricTypes.TABLE_COLUMN_TYPES,
|
|
208
|
-
MetricTypes.
|
|
208
|
+
MetricTypes.COLUMN_NON_NULL_COUNT,
|
|
209
209
|
MetricTypes.TABLE_ROW_COUNT,
|
|
210
210
|
],
|
|
211
211
|
)
|
|
@@ -374,11 +374,11 @@ class GenerateDataQualityCheckExpectationsAction(
|
|
|
374
374
|
metric
|
|
375
375
|
for metric in metric_run.metrics
|
|
376
376
|
if isinstance(metric, ColumnMetric)
|
|
377
|
-
and metric.metric_name == MetricTypes.
|
|
377
|
+
and metric.metric_name == MetricTypes.COLUMN_NON_NULL_COUNT
|
|
378
378
|
]
|
|
379
379
|
|
|
380
380
|
if not column_null_values_metric or len(column_null_values_metric) == 0:
|
|
381
|
-
raise RuntimeError("missing
|
|
381
|
+
raise RuntimeError("missing COLUMN_NON_NULL_COUNT metrics") # noqa: TRY003
|
|
382
382
|
|
|
383
383
|
expectation_ids = []
|
|
384
384
|
# Single-expectation approach using ExpectColumnProportionOfNonNullValuesToBeBetween
|
|
@@ -389,7 +389,7 @@ class GenerateDataQualityCheckExpectationsAction(
|
|
|
389
389
|
)
|
|
390
390
|
for column in columns_missing_completeness_coverage:
|
|
391
391
|
column_name = column.column
|
|
392
|
-
|
|
392
|
+
non_null_count = column.value
|
|
393
393
|
row_count = table_row_count.value
|
|
394
394
|
expectation: gx_expectations.Expectation
|
|
395
395
|
|
|
@@ -399,7 +399,6 @@ class GenerateDataQualityCheckExpectationsAction(
|
|
|
399
399
|
max_param_name = f"{unique_id}_proportion_max"
|
|
400
400
|
|
|
401
401
|
# Calculate non-null proportion
|
|
402
|
-
non_null_count = row_count - null_count if row_count > 0 else 0
|
|
403
402
|
non_null_proportion = non_null_count / row_count if row_count > 0 else 0
|
|
404
403
|
|
|
405
404
|
if use_forecast:
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: great_expectations_cloud
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20251124.0.dev1
|
|
4
4
|
Summary: Great Expectations Cloud
|
|
5
5
|
License: Proprietary
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Author: The Great Expectations Team
|
|
7
8
|
Author-email: team@greatexpectations.io
|
|
8
9
|
Requires-Python: >=3.11,<3.12
|
|
@@ -16,7 +17,7 @@ Classifier: Topic :: Scientific/Engineering
|
|
|
16
17
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
17
18
|
Classifier: Topic :: Software Development :: Quality Assurance
|
|
18
19
|
Classifier: Topic :: Software Development :: Testing
|
|
19
|
-
Requires-Dist: great-expectations[databricks,gx-redshift,mssql,postgresql,snowflake,trino] (==1.
|
|
20
|
+
Requires-Dist: great-expectations[databricks,gx-redshift,mssql,postgresql,snowflake,trino] (==1.9.1)
|
|
20
21
|
Requires-Dist: orjson (>=3.9.7,<4.0.0,!=3.9.10)
|
|
21
22
|
Requires-Dist: packaging (>=21.3,<26.0)
|
|
22
23
|
Requires-Dist: pika (>=1.3.1,<2.0.0)
|
|
@@ -3,7 +3,7 @@ great_expectations_cloud/agent/__init__.py,sha256=FqDFYbGefmNhwlvJwJbNovkwzny6mw
|
|
|
3
3
|
great_expectations_cloud/agent/actions/__init__.py,sha256=TYPe2j8EgaziXXgSLEdgjnbHKL56O6cQL1kjPnGbRFI,949
|
|
4
4
|
great_expectations_cloud/agent/actions/agent_action.py,sha256=F9zOgVmNJ_V2RhRbDXNMjd46-QVNFN8Lp_bmPvh5cwU,1189
|
|
5
5
|
great_expectations_cloud/agent/actions/draft_datasource_config_action.py,sha256=NVN2GBSty-XvCW7pHDkLImHd3V0iJzpUNIh8rNGDuzs,5241
|
|
6
|
-
great_expectations_cloud/agent/actions/generate_data_quality_check_expectations_action.py,sha256=
|
|
6
|
+
great_expectations_cloud/agent/actions/generate_data_quality_check_expectations_action.py,sha256=dhiy_lkcePDy45fEX0uhk-m89_aYKtV6P5jfd-Dcax8,23611
|
|
7
7
|
great_expectations_cloud/agent/actions/list_asset_names.py,sha256=pOL5ip8ZZJbZhDNSp44rjYkx93rKdf3U6f4fY-JLhvg,2576
|
|
8
8
|
great_expectations_cloud/agent/actions/run_checkpoint.py,sha256=N2d07JDCG06kMve7yjPZQFlaGKoJw5dCbpKuBWw6Ssg,3751
|
|
9
9
|
great_expectations_cloud/agent/actions/run_metric_list_action.py,sha256=69nyR0vXjz_lKAHYczuEMQtbNIv0lf-DMiOBXmkwpuQ,3237
|
|
@@ -27,8 +27,8 @@ great_expectations_cloud/agent/utils.py,sha256=3OvdcXeK1gk2oJgqG4jPvBRwlMCn8LioU
|
|
|
27
27
|
great_expectations_cloud/logging/README.md,sha256=vbwU689x8SkGjzoBYQzZOzAvh28fR0RCa1XY5WD-Dgs,1762
|
|
28
28
|
great_expectations_cloud/logging/logging_cfg.py,sha256=W6mlm4_Z2bjzM5TuKmFg_WZor2XoJm4DAoLGaf2O__I,6579
|
|
29
29
|
great_expectations_cloud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
-
great_expectations_cloud-
|
|
31
|
-
great_expectations_cloud-
|
|
32
|
-
great_expectations_cloud-
|
|
33
|
-
great_expectations_cloud-
|
|
34
|
-
great_expectations_cloud-
|
|
30
|
+
great_expectations_cloud-20251124.0.dev1.dist-info/METADATA,sha256=_giplgtZY20l8Fa0ktYuMWgvf_0s5COpQMBTWB1I6WY,12379
|
|
31
|
+
great_expectations_cloud-20251124.0.dev1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
32
|
+
great_expectations_cloud-20251124.0.dev1.dist-info/entry_points.txt,sha256=ofJgdeS2gSzxXLyCAjfNhIaN1wmSyR7EAMs5qhVaXE4,68
|
|
33
|
+
great_expectations_cloud-20251124.0.dev1.dist-info/licenses/LICENSE,sha256=_JJnoX6N_OkrAwlCRizCwil0tIjDAy2TG3GiJ50sM6k,2084
|
|
34
|
+
great_expectations_cloud-20251124.0.dev1.dist-info/RECORD,,
|
|
File without changes
|