CoxAutomotiveDataSolutions / waimak

Waimak is an open-source framework that makes it easier to create complex data flows in Apache Spark.
Apache License 2.0
75 stars 16 forks source link

Empty mssql bug #130

Closed jamesfielder closed 2 years ago

jamesfielder commented 2 years ago

Description

Extracting from an empty table in sql server fails when the last updated column is set to a datetime (instead of the new datetime2 type). This is because the lower timestamp that is produced from the storage layer is out of the range of the datetime type. This change tries to detect that circumstance and map the timestamp into a low value that is inside the range.

Type of change

Please delete options that are not relevant.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication