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

datasketches module updates #1991

Merged
merged 2 commits into from
Nov 19, 2015
Merged

datasketches module updates #1991

merged 2 commits into from
Nov 19, 2015

Conversation

himanshug
Copy link
Contributor

this PR

  • updates the module to use latest released version sketches-core-0.2.2
  • adds support for "cardinality" aggregator i.e. ability to run thetaSketch aggregator on non theta-sketch columns (similar to hyperUniqueCardinality)
  • removes creation of one theta sketch per event at ingestion time, this is about 3x faster

@cheddar can you please review this one? thanks.

adds support for "cardinality" aggregator.
do not create sketch per event at ingestion time to make realtime ingestion faster
@drcrallen
Copy link
Contributor

Are the data sketches backwards compatible? Meaning anything made with 1.x will be readable by 2.x?

@himanshug
Copy link
Contributor Author

@drcrallen yes, they are.

there is backward compatibility baked in with old api that we use too, as soon as this is released , we will stop using the old module that we have internally.. migrate users to new apis and eventually remove support for those.
druid community users (or any other new users) would just use the new documented APIs.

@cheddar
Copy link
Contributor

cheddar commented Nov 19, 2015

LGTM, 👍

@fjy
Copy link
Contributor

fjy commented Nov 19, 2015

👍

fjy added a commit that referenced this pull request Nov 19, 2015
@fjy fjy merged commit 6305dfe into apache:master Nov 19, 2015
@himanshug himanshug mentioned this pull request Dec 1, 2015
@gianm gianm added this to the 0.8.3 milestone Dec 1, 2015
@gianm gianm mentioned this pull request Dec 4, 2015
@himanshug himanshug deleted the sketch_agg_upgrade branch December 5, 2015 17:16
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.

5 participants