kbendick opened a new pull request, #5496:
URL: https://github.com/apache/iceberg/pull/5496

   Working on #5431, I noticed that we are validating the input length to the 
String truncate transform in every call for every value.
   
   However, the input length has already been validated when the transform is 
instantiated.
   
   Given that this code runs in the per-record path of each string truncate 
transformation, I've separated the validation logic from the truncation logic 
to allow skipping length validation for the case when it's already been 
validated / is constant after validation.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to