Skip to content

[SPARK-6761][SQL][ML] Fixes to API and documentation of approximate quantiles#11332

Closed
mengxr wants to merge 4 commits intoapache:masterfrom
mengxr:SPARK-6761
Closed

[SPARK-6761][SQL][ML] Fixes to API and documentation of approximate quantiles#11332
mengxr wants to merge 4 commits intoapache:masterfrom
mengxr:SPARK-6761

Conversation

@mengxr
Copy link
Contributor

@mengxr mengxr commented Feb 23, 2016

What changes were proposed in this pull request?

This continues @thunterdb 's work on approxQuantile API. It changes the signature of approxQuantile from (col: String, quantile: Double, epsilon: Double): Double to (col: String, probabilities: Array[Double], relativeError: Double): Array[Double] and update API doc. It also improves the error message in tests and simplifies the merge algorithm for summaries.

How was the this patch tested?

Use the same unit tests as before.

Closes #11325

@mengxr
Copy link
Contributor Author

mengxr commented Feb 23, 2016

test this please

@SparkQA
Copy link

SparkQA commented Feb 23, 2016

Test build #51804 has finished for PR 11332 at commit bb22b8c.

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

@SparkQA
Copy link

SparkQA commented Feb 23, 2016

Test build #51807 has finished for PR 11332 at commit bb22b8c.

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

@thunterdb
Copy link
Contributor

LGTM, thanks @mengxr

@mengxr
Copy link
Contributor Author

mengxr commented Feb 23, 2016

Merged into master.

@asfgit asfgit closed this in 15e3015 Feb 23, 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

Development

Successfully merging this pull request may close these issues.

3 participants