SilverStreamingApplication 1.4__tar.gz → 1.5__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 (22) hide show
  1. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/PKG-INFO +1 -1
  2. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/SilverMerge.py +2 -2
  3. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/setup.py +1 -1
  4. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/silverstreamingapplication.egg-info/PKG-INFO +1 -1
  5. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/Maintenance.py +0 -0
  6. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/Operations.py +0 -0
  7. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/PartitionAnalyzer.py +0 -0
  8. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/PerfAnalyzer.py +0 -0
  9. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/WorkflowBuilder.py +0 -0
  10. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/__init__.py +0 -0
  11. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/logging.py +0 -0
  12. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/sparksession.py +0 -0
  13. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/utils.py +0 -0
  14. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/main/utilsDatabricksAPI.py +0 -0
  15. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/tests/OperationsTest.py +0 -0
  16. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/tests/__init__.py +0 -0
  17. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/tests/main_test.py +0 -0
  18. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/com/phida/tests/utils_test.py +0 -0
  19. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/setup.cfg +0 -0
  20. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/silverstreamingapplication.egg-info/SOURCES.txt +0 -0
  21. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/silverstreamingapplication.egg-info/dependency_links.txt +0 -0
  22. {silverstreamingapplication-1.4 → silverstreamingapplication-1.5}/silverstreamingapplication.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: silverstreamingapplication
3
- Version: 1.4
3
+ Version: 1.5
4
4
  Summary: initial version
5
5
  Home-page:
6
6
  Author:
@@ -94,7 +94,7 @@ class SilverMerge:
94
94
  self.srcDF = spark.readStream.table(self.srcDatabaseName + "." + self.srcTableName)
95
95
  elif self.use_auto_loader == 'Y':
96
96
  src_table_path = spark.sql(f"DESCRIBE DETAIL {self.srcDatabaseName}.{self.srcTableName}").collect()[0]['location']
97
- self.srcDF = spark.readStream.format("cloudFiles").option("cloudFiles.format", "parquet").option("cloudFiles.schemaLocation", src_table_path + "/_cloudfiles/_schemas").load(src_table_path)
97
+ self.srcDF = spark.readStream.format("cloudFiles").option("cloudFiles.format", "parquet").option("cloudFiles.schemaLocation", src_table_path + "/_cloudfiles/_schemas").load(src_table_path).drop("_rescued_data")
98
98
 
99
99
  self.keyCols = getKeyCols(self.srcDatabaseName, self.srcTableName)
100
100
 
@@ -240,7 +240,7 @@ class SilverMerge:
240
240
 
241
241
  filtered_df = (joined_df.filter(
242
242
  (col("delete_hvr_integ_key").isNull()) |
243
- (col("hvr_integ_key") > col("delete_hvr_integ_key"))
243
+ (col("hvr_integ_key") >= col("delete_hvr_integ_key"))
244
244
  )
245
245
  .drop("delete_hvr_integ_key"))
246
246
 
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='silverstreamingapplication',
5
- version='1.4',
5
+ version='1.5',
6
6
  packages=['com.phida.main', 'com.phida.tests'],
7
7
  url='',
8
8
  license='',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: silverstreamingapplication
3
- Version: 1.4
3
+ Version: 1.5
4
4
  Summary: initial version
5
5
  Home-page:
6
6
  Author: