AbsaOSS / AbsaOSS/enceladus

Validate conformance.mappingtable.pattern for out of range numbers

未关闭
#747 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug Conformance feature priority: low
主要语言
Scala
星标
33
派生
16
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。