GitHub user yanboliang opened a pull request:
https://github.com/apache/spark/pull/15261
[SPARK-16356][Follow-up][ML] Enforce ML test of exception for
local/distributed Dataset.
## What changes were proposed in this pull request?
#14035 added ```testImplicits``` to ML unit tests and promoted
```toDF()```, but left one minor issue at ```VectorIndexerSuite```. If we
create the DataFrame by ```Seq(...).toDF()```, it will throw different
error/exception compared with ```sc.parallelize(Seq(...)).toDF()``` for one of
the test cases.
## How was this patch tested?
Unit test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yanboliang/spark spark-16356
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15261.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 #15261
----
commit c24021e4a24413426ae01fbbbc39d1a21e7aaf88
Author: Yanbo Liang <[email protected]>
Date: 2016-09-27T11:07:18Z
Enforce ML test of exception for local/distributed Dataset.
----
---
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]