AbsaOSS / AbsaOSS/enceladus

Validate conformance.mappingtable.pattern for out of range numbers

Ouverte
#747 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug Conformance feature priority: low
Langage dominant
Scala
Étoiles
33
Forks
16
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.