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

Aleksander Eskilson updated SPARK-17770:
----------------------------------------
    Priority: Major  (was: Critical)

> Make ObjectType SQL Type Public
> -------------------------------
>
>                 Key: SPARK-17770
>                 URL: https://issues.apache.org/jira/browse/SPARK-17770
>             Project: Spark
>          Issue Type: Wish
>          Components: SQL
>            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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to