wojustme opened a new pull request, #2522:
URL: https://github.com/apache/drill/pull/2522

   
   
   # [DRILL-8194](https://issues.apache.org/jira/browse/DRILL-8194): Function 
of REPLACE throws IndexOutOfBoundsException, if text's length is more than 
previously applied
   
   (Please replace `PR Title` with actual PR Title)
   
   ## Description
   
   Add code to check buffer's capacity with text's length.
   We realloc buffer, if actual length is more than previously applied.
   
   ## Documentation
   NA
   
   ## Testing
   Add test case: 
org.apache.drill.exec.expr.fn.impl.TestStringFunctions#testReplaceOutBuffer
   


-- 
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: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to