[SPARK-7157][SQL] add sampleBy to DataFrame#6769
Closed
mengxr wants to merge 3 commits intoapache:masterfrom
Closed
[SPARK-7157][SQL] add sampleBy to DataFrame#6769mengxr wants to merge 3 commits intoapache:masterfrom
mengxr wants to merge 3 commits intoapache:masterfrom
Conversation
|
Test build #34725 has finished for PR 6769 at commit
|
|
Test build #34729 has finished for PR 6769 at commit
|
|
Test build #34739 has finished for PR 6769 at commit
|
Contributor
|
Thanks. Merging this. Can you add a version of sampleBy that uses a Java map? |
Contributor
|
Note that I had to revert this patch due to tests failing after merging. @mengxr can you submit a new pr with tests and Java friendly API? Thanks. |
asfgit
pushed a commit
that referenced
this pull request
Jul 31, 2015
This was previously committed but then reverted due to test failures (see #6769). Author: Xiangrui Meng <meng@databricks.com> Closes #7755 from rxin/SPARK-7157 and squashes the following commits: fbf9044 [Xiangrui Meng] fix python test 542bd37 [Xiangrui Meng] update test 604fe6d [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7157 f051afd [Xiangrui Meng] use udf instead of building expression f4e9425 [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7157 8fb990b [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7157 103beb3 [Xiangrui Meng] add Java-friendly sampleBy 991f26f [Xiangrui Meng] fix seed 4a14834 [Xiangrui Meng] move sampleBy to stat 832f7cc [Xiangrui Meng] add sampleBy to DataFrame
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
sampleByto DataFrame. @rxin