dmitry-chirkov-dremio opened a new pull request, #55282:
URL: https://github.com/apache/arrow/pull/55282

   `levenshtein` uses arena memory but returns int32. Gandiva releases the 
arena per row only for functions that return a string. Arena grows until the 
end of the batch which is not cool. 
   
   ### What changes are included in this PR?
   The first commit adds a test that fails. Fix to come. 
   
   ### Are these changes tested?
   Yes, via new targeted test
   
   ### Are there any user-facing changes?
   No.
   
   ### Was AI used for this PR?
   
   **PR code and description written by:**
   
   - [x] Human
   - [x] AI
   
   **Reviewed before submission by:**
   
   - [x] Human
   - [ ] AI
   


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

Reply via email to