Apache Spark commented on SPARK-17770:

User 'bdrillard' has created a pull request for this issue:

> 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

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

Reply via email to