dilipbiswal opened a new pull request #28750:
URL: https://github.com/apache/spark/pull/28750


   ### What changes were proposed in this pull request?
   A minor fix to fix the apend method of StringConcat to only increment the 
length if underline string buffer actually changes in size.
   
   Thanks to Jeffrey Stokes for reporting the issue and explaining the 
underlying problem in detail in the JIRA.
   
   ### Why are the changes needed?
   This fixes StringIndexOutOfBoundsException on an overflow.
   
   ### Does this PR introduce any user-facing change?
   No.
   
   ### How was this patch tested?
   Added a test in StringsUtilSuite.


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

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