acdc_aws_etl_pipeline 0.7.4__py3-none-any.whl → 0.7.6__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.
@@ -615,9 +615,28 @@ def validate_pipeline(
615
615
  logger.info("Validating %s", filename)
616
616
  results.extend(gen3_validator.validate.validate_list_dict(obj, resolver.schema_resolved))
617
617
 
618
+ logger.info("Getting Schema Version")
619
+ schema_version = resolver.get_schema_version(schema = schema)
620
+
618
621
  full_validation_results_df = pd.DataFrame(results)
619
622
  full_validation_results_df["validation_id"] = latest_validation_id
620
623
  full_validation_results_df["study_id"] = study_id
624
+ full_validation_results_df["schema_version"] = schema_version
625
+
626
+ full_validation_results_df = full_validation_results_df[[
627
+ "validation_id",
628
+ "index",
629
+ "node",
630
+ "study_id",
631
+ "validation_result",
632
+ "invalid_key",
633
+ "schema_path",
634
+ "validator",
635
+ "validator_value",
636
+ "validation_error",
637
+ "schema_version"
638
+ ]]
639
+
621
640
  logger.info("Validation completed (%s rows).", len(full_validation_results_df))
622
641
  except Exception as e:
623
642
  logger.exception("Validation failed.")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: acdc_aws_etl_pipeline
3
- Version: 0.7.4
3
+ Version: 0.7.6
4
4
  Summary: Tools for ACDC ETL pipeline
5
5
  Author: JoshuaHarris391
6
6
  Author-email: harjo391@gmail.com
@@ -8,7 +8,7 @@ acdc_aws_etl_pipeline/upload/upload_synthdata_s3.py,sha256=Ge5TQzZkWnJNp-q0Ak-Yh
8
8
  acdc_aws_etl_pipeline/utils/athena_utils.py,sha256=QJlBe-07Hkq-BqmcxBu6ZtAmVfZSHuSY4dijcysgPH8,29560
9
9
  acdc_aws_etl_pipeline/utils/dbt_utils.py,sha256=5XRFOwNNIeuW2sQuor3h_OZTuXGg6xv2AUYwj9bMAAM,2054
10
10
  acdc_aws_etl_pipeline/utils/release_writer.py,sha256=vsxHJ6l-UWPpzeyEPHurX5iFgeCEQ-9FbySAbPNfTTM,7555
11
- acdc_aws_etl_pipeline/validate/validate.py,sha256=zLqK9i92FsRAaBOGdY-G7-vb0e6tmkoUXhY6zCfbjN8,24895
12
- acdc_aws_etl_pipeline-0.7.4.dist-info/METADATA,sha256=OkBxkhDv7L6tBg4PJWkZRUi-ekC1G4pT0Q_6Fv_1SF4,3096
13
- acdc_aws_etl_pipeline-0.7.4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
14
- acdc_aws_etl_pipeline-0.7.4.dist-info/RECORD,,
11
+ acdc_aws_etl_pipeline/validate/validate.py,sha256=yEOngSfROaKKCDayvC5grDfX3CSlC9NzLLdLC7F6qZI,25475
12
+ acdc_aws_etl_pipeline-0.7.6.dist-info/METADATA,sha256=A8Ba-eO3exEoKcjyrywUc8o1bQxINWV6kZoo6CCFJpI,3096
13
+ acdc_aws_etl_pipeline-0.7.6.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
14
+ acdc_aws_etl_pipeline-0.7.6.dist-info/RECORD,,