AbsaOSS / AbsaOSS/enceladus

Validate conformance.mappingtable.pattern for out of range numbers

Offen
#747 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug Conformance feature priority: low
Vorherrschende Sprache
Scala
Sterne
33
Forks
16
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.