GitHub user keypointt opened a pull request:
https://github.com/apache/spark/pull/14836
[MINOR][MLlib][SQL] Clean up unused variables and unused import
## What changes were proposed in this pull request?
Clean up unused variables and unused import statements, unnecessary
`return` and `toArray`, and some more style improvement, when I walk through
the code examples.
## How was this patch tested?
Testet manually on local laptop.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/keypointt/spark codeWalkThroughML
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14836.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 #14836
----
commit 4e385f3d5a86671fc77a72f7f4738f71e4ce0b47
Author: Xin Ren <[email protected]>
Date: 2016-08-19T20:34:47Z
minor change
commit d879a0efecfc913c00d4f1cb3788ccc67ecdd072
Author: Xin Ren <[email protected]>
Date: 2016-08-19T20:34:56Z
Merge branch 'master' of https://github.com/apache/spark into
codeWalkThroughML
commit 71ae4e5ddc5681a1ef3953f1a68f6b6cf6f38b24
Author: Xin Ren <[email protected]>
Date: 2016-08-19T21:46:42Z
more specific exception, in consistant with other tests
commit 7624ac89582143906011fe81b49e0c5c9d75670f
Author: Xin Ren <[email protected]>
Date: 2016-08-22T18:43:28Z
Merge branch 'master' into codeWalkThroughML
commit c9a119236399657d5dd59b85b2fae8c02528d788
Author: Xin Ren <[email protected]>
Date: 2016-08-22T19:49:14Z
tmp save
commit 37e4066feb33e7cbf91d4f09d96a1a79b0aea3e1
Author: Xin Ren <[email protected]>
Date: 2016-08-22T23:42:05Z
Merge branch 'master' into codeWalkThroughML
commit 73df78aca1f1446f2e370ccc844b10767536d830
Author: Xin Ren <[email protected]>
Date: 2016-08-24T21:51:45Z
Merge branch 'master' into codeWalkThroughML
commit e192cb5e3243cbbe1a7e93aa2133b1fd1c125dc2
Author: Xin Ren <[email protected]>
Date: 2016-08-25T21:18:00Z
Merge branch 'master' into codeWalkThroughML
commit 067d3b772b59400ab228c5df4fe88e3dab14aa32
Author: Xin Ren <[email protected]>
Date: 2016-08-25T22:08:32Z
remove unused import
commit 221a5bb4995cb61c4edff91fd226d6e2310e006b
Author: Xin Ren <[email protected]>
Date: 2016-08-25T22:36:37Z
remove unused import
commit 039c3b08b28d9c178963318f1eb133aae1087643
Author: Xin Ren <[email protected]>
Date: 2016-08-26T00:49:09Z
remove redundant conversion
commit ce19b11e4dc8fa199edffa8821b895125810f4f2
Author: Xin Ren <[email protected]>
Date: 2016-08-26T00:53:10Z
val plan is not used
commit 43c444b61e216187aab493c7d0eef21519f93ae2
Author: Xin Ren <[email protected]>
Date: 2016-08-26T20:27:07Z
more sytle improvement
commit ec656eccfb010ed1c4c86362a51acea8bc4ee2f5
Author: Xin Ren <[email protected]>
Date: 2016-08-26T21:02:58Z
Merge branch 'master' into codeWalkThroughML
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]