Skip to content

[SPARK-17770] [CATALYST] making ObjectType public#15453

Closed
bdrillard wants to merge 1 commit intoapache:masterfrom
bdrillard:master
Closed

[SPARK-17770] [CATALYST] making ObjectType public#15453
bdrillard wants to merge 1 commit intoapache:masterfrom
bdrillard:master

Conversation

@bdrillard
Copy link

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.

@marmbrus
Copy link
Contributor

ok to test

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put a InterfaceStability.Evolving to this.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I've updated the pull-request for the annotation.

@SparkQA
Copy link

SparkQA commented Oct 12, 2016

Test build #66840 has finished for PR 15453 at commit 173dced.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class ObjectType(cls: Class[_]) extends DataType

@SparkQA
Copy link

SparkQA commented Oct 14, 2016

Test build #66926 has finished for PR 15453 at commit 520e207.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class ObjectType(cls: Class[_]) extends DataType

@SparkQA
Copy link

SparkQA commented Oct 14, 2016

Test build #66929 has finished for PR 15453 at commit 232c01e.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class ObjectType(cls: Class[_]) extends DataType

@SparkQA
Copy link

SparkQA commented Oct 14, 2016

Test build #66930 has finished for PR 15453 at commit e064667.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • case class ObjectType(cls: Class[_]) extends DataType

@marmbrus
Copy link
Contributor

Thanks, merging to master!

@asfgit asfgit closed this in f1aeed8 Oct 27, 2016
robert3005 pushed a commit to palantir/spark that referenced this pull request Nov 1, 2016
## 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.

Author: ALeksander Eskilson <alek.eskilson@cerner.com>

Closes apache#15453 from bdrillard/master.
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
## 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.

Author: ALeksander Eskilson <alek.eskilson@cerner.com>

Closes apache#15453 from bdrillard/master.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants