Skip to content

[SPARK-19506][ML][PYTHON] Import warnings in pyspark.ml.util - #16846

Closed
zero323 wants to merge 1 commit into
apache:masterfrom
zero323:SPARK-19506
Closed

[SPARK-19506][ML][PYTHON] Import warnings in pyspark.ml.util#16846
zero323 wants to merge 1 commit into
apache:masterfrom
zero323:SPARK-19506

Conversation

@zero323

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Add missing warnings import.

How was this patch tested?

Manual tests.

@zero323zero323 changed the title Import warnings in pyspark.ml.util[SPARK-19506][ML][PYTHON] Import warnings in pyspark.ml.utilFeb 8, 2017
@SparkQA

Copy link
Copy Markdown

Test build #72546 has finished for PR 16846 at commit e589bd4.

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

@holdenk

Copy link
Copy Markdown
Contributor

This looks good, normally I'd say we should have tests but since we are going to remove this in 2.2 that is probably ok as is. I'll merge this to master & the 2.1 branch if no one objects by EOD.

@zero323

Copy link
Copy Markdown
MemberAuthor

@holdenk Sadly this part of the API is not tested directly and we depend on the indirect coverage. Maybe this is a sign should be tested.

@zero323

Copy link
Copy Markdown
MemberAuthor

Thanks @holdenk

@zero323
zero323 deleted the SPARK-19506 branch February 13, 2017 17:33
@holdenk

Copy link
Copy Markdown
Contributor

Merged into master & branch-2.1 , thanks @zero323 for catching & fixing this.

asfgit pushed a commit that referenced this pull request Feb 13, 2017
## What changes were proposed in this pull request?
Add missing `warnings` import.
## How was this patch tested?
Manual tests.
Author: zero323 <zero323@users.noreply.github.com>
Closes#16846 from zero323/SPARK-19506.
(cherry picked from commit 5e7cd33)
Signed-off-by: Holden Karau <holden@us.ibm.com>
cmonkey pushed a commit to cmonkey/spark that referenced this pull request Feb 15, 2017
## What changes were proposed in this pull request?
Add missing `warnings` import.
## How was this patch tested?
Manual tests.
Author: zero323 <zero323@users.noreply.github.com>
Closesapache#16846 from zero323/SPARK-19506.
Sign up for freeto 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

@zero323@SparkQA@holdenk