felipecrv commented on code in PR #37174: URL: https://github.com/apache/arrow/pull/37174#discussion_r1300811434
########## cpp/src/arrow/c/bridge.cc: ########## @@ -1601,6 +1621,23 @@ struct ArrayImporter { return Status::OK(); } + Status Visit(const RunEndEncodedType& type) { + RETURN_NOT_OK(CheckNumChildren(2)); + if (c_struct_->n_buffers == 1) { + // REE arrays are not required to have any buffer, + // but an empty validity bitmap buffer is allowed. + RETURN_NOT_OK(AllocateArrayData()); Review Comment: Done. -- 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