ezbr commented on code in PR #52276:
URL: https://github.com/apache/arrow/pull/52276#discussion_r4274546980
##########
cpp/src/arrow/util/tdigest.cc:
##########
@@ -168,8 +168,8 @@ class TDigest::TDigestImpl {
if (total_weight != total_weight_) {
return Status::Invalid("tdigest total weight mismatch");
}
- // check if buffer expanded
- if (tdigests_[0].capacity() > delta_ || tdigests_[1].capacity() > delta_) {
+ // check if buffer size exceeded delta
Review Comment:
Changed to remove the check instead of updating it.
--
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]