lidavidm commented on code in PR #33641:
URL: https://github.com/apache/arrow/pull/33641#discussion_r1073869283


##########
cpp/src/arrow/array/data.cc:
##########
@@ -195,6 +195,7 @@ int GetNumBuffers(const DataType& type) {
     case Type::NA:
     case Type::STRUCT:
     case Type::FIXED_SIZE_LIST:
+    case Type::RUN_END_ENCODED:
       return 1;

Review Comment:
   Hmm, why do we have the dummy in the first place? 
   
   I suppose either you have the dummy and you put the exceptions in IPC/C 
Data, or you don't have the dummy and you put the exceptions in things that 
assume the presence of a validity buffer. I would rather not have the dummy, 
but without looking at the code, maybe that introduces too many exceptions 
elsewhere.



-- 
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: github-unsubscr...@arrow.apache.org

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

Reply via email to