AbsaOSS / AbsaOSS/enceladus

Prevent parsing udf double evaluation

オープン
#1,028 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug priority: undecided refactoring Standardization
主要言語
Scala
スター
33
フォーク
16
PR マージ指標
30日以内にマージされた PR はありません

説明

## Describe the bug
In `TypeParser` when calling a udf for parsing evaluates it twice for every input. Ones for the actual value and second time for the possibly existing error.
The udf actually returns a struct of both values.
For improved performance it would be better to return the struct from `TypeParser` and decompose it only later in `StandardizationInterpreter` avoiding the udf double evaluation

## To Reproduce
Steps to reproduce the behavior OR commands run:
1. Any logic leaded to use of Udf in `TypeParser`, for example parsing numbers based on pattern.

## Expected behaviour
Effective usage of udf

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。