tianchen92 commented on a change in pull request #7887:
URL: https://github.com/apache/arrow/pull/7887#discussion_r486737805



##########
File path: cpp/src/arrow/array/builder_base.h
##########
@@ -98,6 +98,9 @@ class ARROW_EXPORT ArrayBuilder {
   virtual Status AppendNull() = 0;
   virtual Status AppendNulls(int64_t length) = 0;
 
+  virtual Status AppendEmptyValue() = 0;

Review comment:
       I add documentation for this API. The change meets the 
[spec](http://arrow.apache.org/docs/format/Columnar.html#struct-layout)(There 
is no need for the child arrays to be null when the top-level struct slot is 
null) .
   The difference between append empty and append null value is different.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to