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

[SPARK-12818][SQL] Specializes integral and string types for Count-min Sketch #10968

Closed
wants to merge 2 commits into from

Conversation

liancheng
Copy link
Contributor

This PR is a follow-up of #10911. It adds specialized update methods for CountMinSketch so that we can avoid doing internal/external row format conversion in DataFrame.countMinSketch().

@@ -124,6 +124,18 @@ int getVersionNumber() {
*/
public abstract void add(Object item, long count);

public abstract void addLong(long item);
Copy link
Contributor

Choose a reason for hiding this comment

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

need to add java doc.

also update the other java doc to say "Increment item's count by one." or "Increment item's count by count"

@SparkQA
Copy link

SparkQA commented Jan 28, 2016

Test build #50266 has finished for PR 10968 at commit 4ad74c0.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@liancheng
Copy link
Contributor Author

@rxin Updated, thanks for the review!

@rxin
Copy link
Contributor

rxin commented Jan 28, 2016

LGTM

@liancheng
Copy link
Contributor Author

Just reverted all accidental formatting changes made by IntelliJ.

@SparkQA
Copy link

SparkQA commented Jan 28, 2016

Test build #2468 has finished for PR 10968 at commit 03ea283.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jan 28, 2016

Test build #50283 has finished for PR 10968 at commit 463f68a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor

LGTM

@rxin
Copy link
Contributor

rxin commented Jan 28, 2016

I'm going to merge this. Thanks.

@asfgit asfgit closed this in 415d0a8 Jan 28, 2016
@liancheng liancheng deleted the cms-specialized branch January 28, 2016 21:47
@liancheng liancheng changed the title [SPARK-12818][SQL] Specialized integral and string types for Count-min Sketch [SPARK-12818][SQL] Specializes integral and string types for Count-min Sketch Feb 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants