Skip to content

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR is a small follow up that puts some logic and functions into smaller scope and make it localized, and deduplicate.

How was this patch tested?

Manually tested. Jenkins tests as well.

@HyukjinKwon
Copy link
Member Author

cc @BryanCutler - it's a small minor followup.

@SparkQA
Copy link

SparkQA commented Dec 2, 2018

Test build #99569 has finished for PR 23200 at commit cbe13bf.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Dec 2, 2018

Test build #99573 has finished for PR 23200 at commit cbe13bf.

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

Copy link
Member

@BryanCutler BryanCutler left a comment

Choose a reason for hiding this comment

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

LGTM

else:
return b.squared_distance(a)
from pyspark.testing.mllibutils import MLlibTestCase
from pyspark.testing.utils import have_scipy
Copy link
Member

Choose a reason for hiding this comment

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

Oh that's good, didn't realize have_scipy was there

@asfgit asfgit closed this in 518a3d1 Dec 3, 2018
@BryanCutler
Copy link
Member

merged to master, thanks @HyukjinKwon

@HyukjinKwon
Copy link
Member Author

Thank you @srowen and @BryanCutler

jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
…lication in ml/mllib tests

## What changes were proposed in this pull request?

This PR is a small follow up that puts some logic and functions into smaller scope and make it localized, and deduplicate.

## How was this patch tested?

Manually tested. Jenkins tests as well.

Closes apache#23200 from HyukjinKwon/followup-SPARK-26034-SPARK-26033.

Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Bryan Cutler <[email protected]>
@HyukjinKwon HyukjinKwon deleted the followup-SPARK-26034-SPARK-26033 branch March 3, 2020 01:20
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.

4 participants