Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Add the missing args-checking for randomSplit and sample

How was this patch tested?

unit tests

@srowen
Copy link
Member

srowen commented Aug 3, 2016

LGTM. I wonder if we should even disallow a 0% sample, but, OK as-is.

@SparkQA
Copy link

SparkQA commented Aug 3, 2016

Test build #63168 has finished for PR 14478 at commit 3ea8518.

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

@srowen
Copy link
Member

srowen commented Aug 3, 2016

Ah, let's do this for the RDD API too eh?

@zhengruifeng
Copy link
Contributor Author

@srowen Right. I just add those checking for RDD.

@SparkQA
Copy link

SparkQA commented Aug 4, 2016

Test build #63210 has finished for PR 14478 at commit 4b0efea.

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

@srowen
Copy link
Member

srowen commented Aug 4, 2016

Merged to master / 2.0

asfgit pushed a commit that referenced this pull request Aug 4, 2016
## What changes were proposed in this pull request?

Add the missing args-checking for randomSplit and sample

## How was this patch tested?
unit tests

Author: Zheng RuiFeng <[email protected]>

Closes #14478 from zhengruifeng/fix_randomSplit.

(cherry picked from commit be8ea4b)
Signed-off-by: Sean Owen <[email protected]>
@asfgit asfgit closed this in be8ea4b Aug 4, 2016
@zhengruifeng zhengruifeng deleted the fix_randomSplit branch August 5, 2016 01:24
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