AbsaOSS / AbsaOSS/enceladus

Validate conformance.mappingtable.pattern for out of range numbers

Aperta
#747 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug Conformance feature priority: low
Lingua principale
Scala
Stelle
33
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Problem
Currently conformance.mappingtable.pattern is not validated and when the user inputs a number there that is out of range, for example instead of {1} he puts {-1} it outputs `Exception in thread "main" java.lang.IllegalArgumentException: negative argument number: -1` and in case of {12} the file name turn into jibberish `Exception in thread "main" org.apache.spark.sql.AnalysisException: Path does not exist: hdfs://localhost:8020/maps/ConformanceRulesMultiKey/latest-%7B4%7D;`

## Feature
Validate that the numbers in conformance .mappingtable.pattern property are in some range that is usable and do it as soon as possible.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.