You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2016/10/27 01:03:58 UTC

[jira] [Resolved] (SPARK-17770) Make ObjectType SQL Type Public

     [ https://issues.apache.org/jira/browse/SPARK-17770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Armbrust resolved SPARK-17770.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

Issue resolved by pull request 15453
[https://github.com/apache/spark/pull/15453]

> Make ObjectType SQL Type Public
> -------------------------------
>
>                 Key: SPARK-17770
>                 URL: https://issues.apache.org/jira/browse/SPARK-17770
>             Project: Spark
>          Issue Type: Wish
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Aleksander Eskilson
>             Fix For: 2.1.0
>
>
> Currently Catalyst supports encoding custom classes represented as Java Beans (among others). This Java Bean implementation depends internally on Catalyst’s ObjectType extension of DataType. Right now, this class is private to the sql package [1]. However, its private scope makes it more difficult to write full custom encoders for other classes, themselves perhaps composed of additional objects.
> Opening this class as public will facilitate the writing of custom encoders.
> [1] -- https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/types/ObjectType.scala#L39



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org