spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksander Eskilson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-17770) Make ObjectType SQL Type Public
Date Wed, 12 Oct 2016 20:43:20 GMT

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

Aleksander Eskilson updated SPARK-17770:
----------------------------------------
    Target Version/s:   (was: 2.0.2)

> 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


Mime
View raw message