Skip to content

Conversation

@LindaSummer
Copy link
Member

Issue

#2811 (comment)

Proposed Changes

  • Make min and max updating in Tdigest::Add.
  • Remove updating in TDigestImpl::MergeInput and TDigest::mergeCurrentBuffer.

Comment

The min max calculation inside TDigestImpl::Merge should be reserved for TDIGEST.MERGE command.
We only refactor the buffer merging logic here.

@PragmaTwice PragmaTwice changed the title feat(tdigest): refactor buffer merge's min max updating logic. feat(tdigest): refactor buffer merge's min max updating logic Mar 5, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 5, 2025

@PragmaTwice PragmaTwice merged commit 4503753 into apache:unstable Mar 5, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants