Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log-collapsing sketches #21

Merged
merged 1 commit into from
Aug 24, 2022
Merged

Add log-collapsing sketches #21

merged 1 commit into from
Aug 24, 2022

Conversation

Qard
Copy link
Contributor

@Qard Qard commented Aug 9, 2022

Seems the necessary stores were there, but there was no interface in the public API to make a LogCollapsingHighestDenseDDSketch or LogCollapsingLowestDenseDDSketch. This adds those and just reuses the existing tests for DDSketch.

@Qard Qard added the enhancement New feature or request label Aug 9, 2022
@Qard Qard requested review from brimtown and a team August 9, 2022 09:39
Copy link
Collaborator

@brimtown brimtown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting this! The code looks good, just one request and one question:

  1. The yarn.lock change looks unrelated (and appears to just be formatting) - can we back that out? I'm guessing it was from an npm install: [BUG] npm install modifies yarn.lock in incorrect ways npm/cli#5126

  2. (Optional) Do you think it's worth documenting these new options in the README? Can even just be a single heading/paragraph showing how to import (and that setting binLimit is possible).

Will re-review after 1)

@Qard Qard force-pushed the add-log-collapsing-sketches branch from 9d8c63c to 1956970 Compare August 23, 2022 10:39
@Qard
Copy link
Contributor Author

Qard commented Aug 23, 2022

Ah, yep. Missed the yarn.lock changes. They've been reset now.

No particular opinion on documenting the new interfaces. I can add some docs for that if you like.

@Qard Qard merged commit d300f80 into master Aug 24, 2022
@Qard Qard deleted the add-log-collapsing-sketches branch August 24, 2022 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants