sws-spark-dissemination-helper 0.0.174__tar.gz → 0.0.175__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.174 → sws_spark_dissemination_helper-0.0.175}/PKG-INFO +1 -1
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/pyproject.toml +1 -1
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/src/sws_spark_dissemination_helper/SWSGoldIcebergSparkHelper.py +2 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/.gitignore +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/LICENSE +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/README.md +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/src/sws_spark_dissemination_helper/SWSBronzeIcebergSparkHelper.py +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/src/sws_spark_dissemination_helper/SWSDatatablesExportHelper.py +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/src/sws_spark_dissemination_helper/SWSEasyIcebergSparkHelper.py +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/src/sws_spark_dissemination_helper/SWSPostgresSparkReader.py +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/src/sws_spark_dissemination_helper/SWSSilverIcebergSparkHelper.py +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/src/sws_spark_dissemination_helper/__init__.py +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/src/sws_spark_dissemination_helper/constants.py +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/src/sws_spark_dissemination_helper/utils.py +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/tests/__init__.py +0 -0
- {sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/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.175
|
|
4
4
|
Summary: A Python helper package providing streamlined Spark functions for efficient data dissemination processes
|
|
5
5
|
Project-URL: Repository, https://github.com/un-fao/fao-sws-it-python-spark-dissemination-helper
|
|
6
6
|
Author-email: Daniele Mansillo <danielemansillo@gmail.com>
|
|
@@ -87,6 +87,8 @@ class SWSGoldIcebergSparkHelper:
|
|
|
87
87
|
return df.filter(col("diss_flag"))
|
|
88
88
|
|
|
89
89
|
def keep_dim_val_attr_columns(self, df: DataFrame):
|
|
90
|
+
if "note" in df.columns:
|
|
91
|
+
return df.select(*self.cols_to_keep_sws, "note")
|
|
90
92
|
return df.select(*self.cols_to_keep_sws)
|
|
91
93
|
|
|
92
94
|
def read_bronze_data(self) -> DataFrame:
|
{sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/.gitignore
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.174 → sws_spark_dissemination_helper-0.0.175}/tests/__init__.py
RENAMED
|
File without changes
|
{sws_spark_dissemination_helper-0.0.174 → sws_spark_dissemination_helper-0.0.175}/tests/test.py
RENAMED
|
File without changes
|