mapleFU commented on code in PR #45533:
URL: https://github.com/apache/arrow/pull/45533#discussion_r2040223419
##########
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:
```suggestion
Reset();
```
Would this be ok in this scenerio?
--
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]