Skip to content

Commit

Permalink
add TODO comments
Browse files Browse the repository at this point in the history
Signed-off-by: yuxiqian <[email protected]>
  • Loading branch information
yuxiqian committed Dec 17, 2024
1 parent 484ff6e commit 0ed20c6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,8 @@ public static BigDecimal castToBigDecimal(Object object, int precision, int scal
new BigDecimal(castObjectIntoString(object), new MathContext(precision));
bigDecimal = bigDecimal.setScale(scale, RoundingMode.HALF_UP);
if (bigDecimal.precision() > precision) {
// TODO: Handle malformed data properly after dirty data handling is implemented in
// Pipeline Framework.
return null;
}
return bigDecimal;
Expand Down

0 comments on commit 0ed20c6

Please sign in to comment.