You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/10/12 20:50:21 UTC

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

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

Apache Spark reassigned SPARK-17770:
------------------------------------

    Assignee:     (was: Apache Spark)

> 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
>
> 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