plusplusjiajia opened a new pull request, #9214:
URL: https://github.com/apache/paimon/pull/9214
### Purpose
Two `NullPointerException`s on null transform inputs, both reachable today:
* `TrimTransform` reads `charsToTrim` with `toString()` before checking it
for null, so a null second input throws — even though
`StringUtils.ltrim/rtrim`, which it delegates to, already define a null
`charsToTrim` as a null result.
* `StringTransform.toString` maps inputs with `Object::toString` and
throws on a null input, which `ConcatTransform` and `ConcatWsTransform` accept.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]