AbsaOSS / AbsaOSS/enceladus

Spark date handling settings can mess up dates in Standardization-Conformance combined job

Aperta
#2,189 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug Conformance priority: high Standardization
Lingua principale
Scala
Stelle
33
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Describe the bug
While #2175/#2184 solves for the ability to process dates prior to 1900 in Enceladus 3 (without code change), the way how it is done actually introduced a possible bug of messing up the dates.
In case a pair of different settings (LEGACY-CORRECTED) is used for read and write a combined job of Standardization&Conformance will mess up the dates.

## To Reproduce
Steps to reproduce the behavior OR commands run:
1. Have a dataset with timestamps pre 1900 from ambiguous interval
2. Run Standardization & Conformance job with settings read LEGACY, write CORRECTED
3. Dates will be messed up

## Expected behavior
Data should remain correct

## Additional context
Consider adding the information of used date reading standard into the _INFO file.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the Standardization and Conformance combined job with pre-1900 timestamps and LEGACY read versus CORRECTED write settings. Trace how the date-reading and date-writing standards are applied, then verify that dates remain correct and assess whether the used reading standard can be recorded in the _INFO file.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
scala, spark
Ambito
data-engineering
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.