GitHub user NathanHowell opened a pull request:
https://github.com/apache/spark/pull/16084
[SPARK-18654][SQL] Remove unreachable patterns in makeRootConverter
## What changes were proposed in this pull request?
`makeRootConverter` is only called with a `StructType` value. By making
this method less general we can remove pattern matches, which are never
actually hit outside of the test suite.
## How was this patch tested?
The existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NathanHowell/spark SPARK-18654
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16084.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 #16084
----
commit 3535acf4f84a9057f4bbb88a81e4fff5f5167c0d
Author: Nathan Howell <[email protected]>
Date: 2016-11-30T18:47:16Z
[SPARK-18654][SQL] Remove unreachable patterns in makeRootConverter
----
---
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]