GitHub user huaxingao opened a pull request:
https://github.com/apache/spark/pull/22228
[SPARK-25124][ML]VectorSizeHint setSize and getSize don't return values
backport to 2.3
## What changes were proposed in this pull request?
In feature.py, VectorSizeHint setSize and getSize don't return value. Add
return.
(Please fill in changes proposed in this fix)
## How was this patch tested?
Unit Test added
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/huaxingao/spark spark-25124-2.3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22228.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22228
----
commit 35092f0b829dea4520014eb980e31bb3511c9e7f
Author: Huaxin Gao <huaxing@...>
Date: 2018-08-24T21:10:05Z
[SPARK-25124][ML]VectorSizeHint setSize and getSize don't return values
backport to 2.3
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]