mapleFU commented on code in PR #43801:
URL: https://github.com/apache/arrow/pull/43801#discussion_r1737977798
##########
cpp/src/arrow/array/data.cc:
##########
@@ -195,6 +197,7 @@ std::shared_ptr<ArrayData> ArrayData::Slice(int64_t off,
int64_t len) const {
} else {
copy->null_count = null_count != 0 ? kUnknownNullCount : 0;
}
+ copy->statistics = nullptr;
Review Comment:
A naive question, `if off == 0 && len == this->length`, should we keep this?
--
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]