zeyuanxy edited a comment on pull request #12579:
URL: https://github.com/apache/arrow/pull/12579#issuecomment-1062123925


   > Do you have an actual use case for this?
   
   Yeah. We have an operator building a sample over streaming data using 
reservoir sampling. This requires making updates to the builders. We made our 
own builder implementations (e.g., for numerical we use a value builder and a 
uint8 builder for nullness; for string we use a vector for value), and we 
realized for numerical builder, it is straightforward to support it in arrow.  
Also it seems Arrow support updating a value (through `T& operator[](int64_t)`) 
but not support updating the nullness. Therefore we did this PR.


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