sws-spark-dissemination-helper 0.0.104__py3-none-any.whl → 0.0.106__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.
@@ -387,9 +387,6 @@ class SWSBronzeIcebergSparkHelper:
387
387
 
388
388
  logging.info(f"Bronze table written to {self.iceberg_tables.BRONZE.iceberg_id}")
389
389
 
390
- self.spark.sql(
391
- f"ALTER TABLE {self.iceberg_tables.BRONZE.iceberg_id} REFRESH;"
392
- )
393
390
  self.spark.sql(
394
391
  f"ALTER TABLE {self.iceberg_tables.BRONZE.iceberg_id} CREATE TAG `{self.tag_name}`"
395
392
  )
@@ -462,7 +459,7 @@ class SWSBronzeIcebergSparkHelper:
462
459
  col(dimension_name).isin(codes)
463
460
  )
464
461
 
465
- self.df_bronze.writeTo(
462
+ self.disseminated_tag_df.writeTo(
466
463
  self.iceberg_tables.BRONZE_DISS_TAG.iceberg_id
467
464
  ).createOrReplace()
468
465
 
@@ -470,9 +467,6 @@ class SWSBronzeIcebergSparkHelper:
470
467
  f"Bronze disseminated tag table written to {self.iceberg_tables.BRONZE_DISS_TAG.iceberg_id}"
471
468
  )
472
469
 
473
- self.spark.sql(
474
- f"ALTER TABLE {self.iceberg_tables.BRONZE_DISS_TAG.iceberg_id} REFRESH;"
475
- )
476
470
  self.spark.sql(
477
471
  f"ALTER TABLE {self.iceberg_tables.BRONZE_DISS_TAG.iceberg_id} CREATE TAG `{self.tag_name}`"
478
472
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sws-spark-dissemination-helper
3
- Version: 0.0.104
3
+ Version: 0.0.106
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>
@@ -1,11 +1,11 @@
1
- sws_spark_dissemination_helper/SWSBronzeIcebergSparkHelper.py,sha256=yNBJkQv6Gcz9nE6df96hqJ9JBrgv4AsDq-oZ1ILcGl4,20010
1
+ sws_spark_dissemination_helper/SWSBronzeIcebergSparkHelper.py,sha256=aCi_rGvPkTDF9Sf5veWPeK_-CyP_GuwXLNnSjJRrd4M,19791
2
2
  sws_spark_dissemination_helper/SWSGoldIcebergSparkHelper.py,sha256=ZC7hxkppo6qmfCc2z5vm2Y2iH1901F-rx9Er9cxuzP4,16037
3
3
  sws_spark_dissemination_helper/SWSPostgresSparkReader.py,sha256=ja7AbOfbmC_EXHCJk7UMDzzbA-LRxzPkaaUmuvcihJ8,17449
4
4
  sws_spark_dissemination_helper/SWSSilverIcebergSparkHelper.py,sha256=08xA7h4oVicKOnjEoMrLXpuk9mZ2GTiTPx3C7rCI7pg,22224
5
5
  sws_spark_dissemination_helper/__init__.py,sha256=Efjoe9V4vGXWVp-DY5P6NbRwIUr_zkZJkDmMi-lf5Bc,262
6
6
  sws_spark_dissemination_helper/constants.py,sha256=yG_pUi2PVeFKz6pogAU2AGQ-wV4FHWRHOW77wE_XGL0,11436
7
7
  sws_spark_dissemination_helper/utils.py,sha256=6SzrXX0xhvynRyv-vRFDbc6V4UNe_RzKKETZAtefnhg,21341
8
- sws_spark_dissemination_helper-0.0.104.dist-info/METADATA,sha256=HuI-vbl8TUBGPWYEOw__1NsZ6Tl222gTAnACXvHWrVE,2824
9
- sws_spark_dissemination_helper-0.0.104.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
- sws_spark_dissemination_helper-0.0.104.dist-info/licenses/LICENSE,sha256=zFzeb_j_6pXEHwH8Z0OpIkKFJk7vmhZjdem-K0d4zU4,1073
11
- sws_spark_dissemination_helper-0.0.104.dist-info/RECORD,,
8
+ sws_spark_dissemination_helper-0.0.106.dist-info/METADATA,sha256=A6ImEobrSAioTeY5oiiiGLi9rwFfX6SeDsHcYFCbA6w,2824
9
+ sws_spark_dissemination_helper-0.0.106.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
10
+ sws_spark_dissemination_helper-0.0.106.dist-info/licenses/LICENSE,sha256=zFzeb_j_6pXEHwH8Z0OpIkKFJk7vmhZjdem-K0d4zU4,1073
11
+ sws_spark_dissemination_helper-0.0.106.dist-info/RECORD,,