cyb70289 commented on a change in pull request #12579:
URL: https://github.com/apache/arrow/pull/12579#discussion_r821271455



##########
File path: cpp/src/arrow/array/builder_base.h
##########
@@ -250,6 +250,9 @@ class ARROW_EXPORT ArrayBuilder {
   // Set the next validity bits to null (i.e. invalid).
   void UnsafeSetNull(int64_t length);
 
+  /// Set the index bit to null or not null
+  void UnsafeSetIsNull(int64_t index, bool is_null);

Review comment:
       Looks this api doesn't work for variable length types like string. 
Probably should not be in base class.




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