sws-spark-dissemination-helper 0.0.121__tar.gz → 0.0.123__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.
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/PKG-INFO +2 -2
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/pyproject.toml +2 -2
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/src/sws_spark_dissemination_helper/SWSBronzeIcebergSparkHelper.py +8 -7
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/.gitignore +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/LICENSE +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/README.md +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/old_requirements.txt +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/requirements.txt +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/src/sws_spark_dissemination_helper/SWSGoldIcebergSparkHelper.py +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/src/sws_spark_dissemination_helper/SWSPostgresSparkReader.py +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/src/sws_spark_dissemination_helper/SWSSilverIcebergSparkHelper.py +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/src/sws_spark_dissemination_helper/__init__.py +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/src/sws_spark_dissemination_helper/constants.py +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/src/sws_spark_dissemination_helper/utils.py +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/tests/__init__.py +0 -0
- {sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/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.
|
|
3
|
+
Version: 0.0.123
|
|
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>
|
|
@@ -49,7 +49,7 @@ Requires-Dist: pytz==2025.1
|
|
|
49
49
|
Requires-Dist: requests==2.32.3
|
|
50
50
|
Requires-Dist: s3transfer==0.11.2
|
|
51
51
|
Requires-Dist: six==1.17.0
|
|
52
|
-
Requires-Dist: sws-api-client>=1.5.
|
|
52
|
+
Requires-Dist: sws-api-client>=1.5.1
|
|
53
53
|
Requires-Dist: typing-extensions==4.12.2
|
|
54
54
|
Requires-Dist: tzdata==2025.1
|
|
55
55
|
Requires-Dist: urllib3==1.26.20
|
{sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/pyproject.toml
RENAMED
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "sws-spark-dissemination-helper"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.123"
|
|
8
8
|
dependencies = [
|
|
9
9
|
"annotated-types==0.7.0",
|
|
10
10
|
"boto3==1.36.18",
|
|
@@ -25,7 +25,7 @@ dependencies = [
|
|
|
25
25
|
"requests==2.32.3",
|
|
26
26
|
"s3transfer==0.11.2",
|
|
27
27
|
"six==1.17.0",
|
|
28
|
-
"sws_api_client>=1.5.
|
|
28
|
+
"sws_api_client>=1.5.1",
|
|
29
29
|
"typing_extensions==4.12.2",
|
|
30
30
|
"tzdata==2025.1",
|
|
31
31
|
"urllib3==1.26.20"
|
|
@@ -454,13 +454,14 @@ class SWSBronzeIcebergSparkHelper:
|
|
|
454
454
|
|
|
455
455
|
self.disseminated_tag_df = self.df_bronze
|
|
456
456
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
457
|
+
if isinstance(dimensions, dict):
|
|
458
|
+
for dimension_name, codes in dimensions.items():
|
|
459
|
+
logging.info(f"dimension_name: {dimension_name}")
|
|
460
|
+
logging.info(f"codes: {codes}")
|
|
461
|
+
if len(codes) != 0:
|
|
462
|
+
self.disseminated_tag_df = self.disseminated_tag_df.filter(
|
|
463
|
+
col(dimension_name).isin(codes)
|
|
464
|
+
)
|
|
464
465
|
|
|
465
466
|
self.disseminated_tag_df.writeTo(
|
|
466
467
|
self.iceberg_tables.BRONZE_DISS_TAG.iceberg_id
|
{sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/.gitignore
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/requirements.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/tests/__init__.py
RENAMED
|
File without changes
|
{sws_spark_dissemination_helper-0.0.121 → sws_spark_dissemination_helper-0.0.123}/tests/test.py
RENAMED
|
File without changes
|