sws-spark-dissemination-helper 0.0.117__tar.gz → 0.0.119__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.117 → sws_spark_dissemination_helper-0.0.119}/PKG-INFO +1 -1
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/pyproject.toml +1 -1
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/src/sws_spark_dissemination_helper/SWSSilverIcebergSparkHelper.py +11 -6
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/.gitignore +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/LICENSE +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/README.md +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/old_requirements.txt +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/requirements.txt +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/src/sws_spark_dissemination_helper/SWSBronzeIcebergSparkHelper.py +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/src/sws_spark_dissemination_helper/SWSGoldIcebergSparkHelper.py +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/src/sws_spark_dissemination_helper/SWSPostgresSparkReader.py +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/src/sws_spark_dissemination_helper/__init__.py +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/src/sws_spark_dissemination_helper/constants.py +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/src/sws_spark_dissemination_helper/utils.py +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/tests/__init__.py +0 -0
- {sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/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.119
|
|
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>
|
|
@@ -176,12 +176,17 @@ class SWSSilverIcebergSparkHelper:
|
|
|
176
176
|
|
|
177
177
|
original_col_order = df.columns
|
|
178
178
|
cols_to_select = df.columns
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
179
|
+
col_name_lower = col_name.lower()
|
|
180
|
+
cols_to_select = [
|
|
181
|
+
column
|
|
182
|
+
for column in cols_to_select
|
|
183
|
+
if column.lower()
|
|
184
|
+
not in (
|
|
185
|
+
"note",
|
|
186
|
+
f"{col_name_lower}_start_date",
|
|
187
|
+
f"{col_name_lower}_end_date",
|
|
188
|
+
)
|
|
189
|
+
]
|
|
185
190
|
|
|
186
191
|
df = (
|
|
187
192
|
df.alias("d")
|
{sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/.gitignore
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/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.117 → sws_spark_dissemination_helper-0.0.119}/tests/__init__.py
RENAMED
|
File without changes
|
{sws_spark_dissemination_helper-0.0.117 → sws_spark_dissemination_helper-0.0.119}/tests/test.py
RENAMED
|
File without changes
|