GitHub user bdrillard opened a pull request:
https://github.com/apache/spark/pull/15453
[SPARK-17770] [CATALYST] making ObjectType public
## What changes were proposed in this pull request?
In order to facilitate the writing of additional Encoders, I proposed
opening up the ObjectType SQL DataType. This DataType is used extensively in
the JavaBean Encoder, but would also be useful in writing other custom
encoders.
As mentioned by @marmbrus, it is understood that the Expressions API is
subject to potential change.
## How was this patch tested?
The change only affects the visibility of the ObjectType class, and the
existing SQL test suite still runs without error.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bdrillard/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15453.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 #15453
----
commit 173dceda3da45bb0bd0b578f70ae97143424a727
Author: ALeksander Eskilson <[email protected]>
Date: 2016-10-12T20:19:53Z
[SPARK-17770] making ObjectType public
----
---
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]