Skip to content

[SPARK-26638][PYSPARK][ML] Pyspark vector classes always return error for unary negation - #23570

Closed
srowen wants to merge 1 commit into
apache:masterfrom
srowen:SPARK-26638
Closed

[SPARK-26638][PYSPARK][ML] Pyspark vector classes always return error for unary negation#23570
srowen wants to merge 1 commit into
apache:masterfrom
srowen:SPARK-26638

Conversation

@srowen

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Fix implementation of unary negation (__neg__) in Pyspark DenseVectors

How was this patch tested?

Existing tests, plus new doctest

@SparkQA

Copy link
Copy Markdown

Test build #101334 has finished for PR 23570 at commit b28e6d2.

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

srowen added a commit that referenced this pull request Jan 17, 2019
… for unary negation
## What changes were proposed in this pull request?
Fix implementation of unary negation (`__neg__`) in Pyspark DenseVectors
## How was this patch tested?
Existing tests, plus new doctest
Closes#23570 from srowen/SPARK-26638.
Authored-by: Sean Owen <sean.owen@databricks.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
(cherry picked from commit 0b3abef)
Signed-off-by: Sean Owen <sean.owen@databricks.com>
srowen added a commit that referenced this pull request Jan 17, 2019
… for unary negation
## What changes were proposed in this pull request?
Fix implementation of unary negation (`__neg__`) in Pyspark DenseVectors
## How was this patch tested?
Existing tests, plus new doctest
Closes#23570 from srowen/SPARK-26638.
Authored-by: Sean Owen <sean.owen@databricks.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
(cherry picked from commit 0b3abef)
Signed-off-by: Sean Owen <sean.owen@databricks.com>
@srowen

Copy link
Copy Markdown
MemberAuthor

Merged to master/2.4/2.3

@srowen
srowen deleted the SPARK-26638 branch January 21, 2019 17:57
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
… for unary negation
## What changes were proposed in this pull request?
Fix implementation of unary negation (`__neg__`) in Pyspark DenseVectors
## How was this patch tested?
Existing tests, plus new doctest
Closesapache#23570 from srowen/SPARK-26638.
Authored-by: Sean Owen <sean.owen@databricks.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Jul 23, 2019
… for unary negation
## What changes were proposed in this pull request?
Fix implementation of unary negation (`__neg__`) in Pyspark DenseVectors
## How was this patch tested?
Existing tests, plus new doctest
Closesapache#23570 from srowen/SPARK-26638.
Authored-by: Sean Owen <sean.owen@databricks.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
(cherry picked from commit 0b3abef)
Signed-off-by: Sean Owen <sean.owen@databricks.com>
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Aug 1, 2019
… for unary negation
## What changes were proposed in this pull request?
Fix implementation of unary negation (`__neg__`) in Pyspark DenseVectors
## How was this patch tested?
Existing tests, plus new doctest
Closesapache#23570 from srowen/SPARK-26638.
Authored-by: Sean Owen <sean.owen@databricks.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
(cherry picked from commit 0b3abef)
Signed-off-by: Sean Owen <sean.owen@databricks.com>
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

@srowen@SparkQA@HyukjinKwon