sws-spark-dissemination-helper 0.0.115__tar.gz → 0.0.116__tar.gz

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.
Files changed (16) hide show
  1. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/PKG-INFO +1 -1
  2. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/pyproject.toml +1 -1
  3. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/.gitignore +0 -0
  4. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/LICENSE +0 -0
  5. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/README.md +0 -0
  6. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/old_requirements.txt +0 -0
  7. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/requirements.txt +0 -0
  8. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/src/sws_spark_dissemination_helper/SWSBronzeIcebergSparkHelper.py +0 -0
  9. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/src/sws_spark_dissemination_helper/SWSGoldIcebergSparkHelper.py +0 -0
  10. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/src/sws_spark_dissemination_helper/SWSPostgresSparkReader.py +0 -0
  11. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/src/sws_spark_dissemination_helper/SWSSilverIcebergSparkHelper.py +7 -7
  12. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/src/sws_spark_dissemination_helper/__init__.py +0 -0
  13. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/src/sws_spark_dissemination_helper/constants.py +0 -0
  14. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/src/sws_spark_dissemination_helper/utils.py +0 -0
  15. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/tests/__init__.py +0 -0
  16. {sws_spark_dissemination_helper-0.0.115 → sws_spark_dissemination_helper-0.0.116}/tests/test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sws-spark-dissemination-helper
3
- Version: 0.0.115
3
+ Version: 0.0.116
4
4
  Summary: A Python helper package providing streamlined Spark functions for efficient data dissemination processes
5
5
  Project-URL: Repository, https://bitbucket.org/cioapps/sws-it-python-spark-dissemination-helper
6
6
  Author-email: Daniele Mansillo <danielemansillo@gmail.com>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "sws-spark-dissemination-helper"
7
- version = "0.0.115"
7
+ version = "0.0.116"
8
8
  dependencies = [
9
9
  "annotated-types==0.7.0",
10
10
  "boto3==1.36.18",
@@ -637,6 +637,13 @@ class SWSSilverIcebergSparkHelper:
637
637
  table=self.iceberg_tables.SILVER.table,
638
638
  path=self.iceberg_tables.SILVER.path,
639
639
  structure={"columns": df.schema.jsonValue()["fields"]},
640
+ pinned_columns=[
641
+ *self.dim_columns_w_time,
642
+ "value",
643
+ *self.flag_columns,
644
+ "diss_flag",
645
+ "note",
646
+ ],
640
647
  )
641
648
  tag = upsert_disseminated_table(
642
649
  sws_tags=tags,
@@ -656,13 +663,6 @@ class SWSSilverIcebergSparkHelper:
656
663
  type=TableType.CSV,
657
664
  path=self.iceberg_tables.SILVER.csv_path,
658
665
  structure={"columns": df.schema.jsonValue()["fields"]},
659
- pinned_columns=[
660
- *self.dim_columns_w_time,
661
- "value",
662
- *self.flag_columns,
663
- "diss_flag",
664
- "note",
665
- ],
666
666
  )
667
667
  tag = upsert_disseminated_table(
668
668
  sws_tags=tags,