andishgar commented on issue #50249:
URL: https://github.com/apache/arrow/issues/50249#issuecomment-4840902367

   @pitrou, as I mentioned 
[here](https://github.com/apache/arrow/issues/50249#issue-4739960981), the 
current API is problematic because it does not provide a way to determine 
whether a value is null while iterating over a `BaseBinaryBuilder`. For 
example, `VisitValues` uses [this 
code](https://github.com/apache/arrow/blob/12b3eda46a69fbc2e7f6f9c52be345b678f4baae/cpp/src/arrow/util/hashing.h#L862-L867)
 to iterate over the builder's values, but with the current interface it has no 
way to distinguish null values from non-null ones. This makes it impossible for 
callers that need to preserve null semantics.


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