lesterfan commented on code in PR #45533:
URL: https://github.com/apache/arrow/pull/45533#discussion_r2040452260
##########
cpp/src/arrow/array/builder_run_end.cc:
##########
@@ -289,6 +289,9 @@ Status
RunEndEncodedBuilder::FinishInternal(std::shared_ptr<ArrayData>* out) {
ARROW_ASSIGN_OR_RAISE(auto ree_array,
RunEndEncodedArray::Make(length_, run_ends_array,
values_array));
*out = std::move(ree_array->data());
+
+ UpdateDimensions(0, 0);
Review Comment:
Oh nice; I missed this API. I just tried this and things work well on my end!
--
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]