spanglerco opened a new pull request, #37862:
URL: https://github.com/apache/arrow/pull/37862

   ### Rationale for this change
   
   Fixes #37861.
   
   ### What changes are included in this PR?
   
   Add `BinaryArray.GetBytes(int, out bool)` overload that enables 
`StringArray.GetString` to reliably determine if the value is null or empty 
without needing an additional call to `IsNull`.
   
   ### Are these changes tested?
   
   Added a test for `StringArray.GetString` (which didn't appear to have any 
existing tests). Two of the cases fail without this change. I also updated the 
tests that call `BinaryArray.GetBytes` to use the new overload instead of a 
separate call to `IsNull` as extra validation.
   
   ### Are there any user-facing changes?
   
   New public overload to an existing API.


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