[ 
https://issues.apache.org/jira/browse/SPARK-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039682#comment-14039682
 ] 

Yin Huai commented on SPARK-2179:
---------------------------------

Just a note. For every data type we have, I think it is better to have a string 
name (e.g. "int" for IntegerType).

> Public API for DataTypes and Schema
> -----------------------------------
>
>                 Key: SPARK-2179
>                 URL: https://issues.apache.org/jira/browse/SPARK-2179
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Michael Armbrust
>            Assignee: Yin Huai
>
> We want something like the following:
>  * Expose DataType in the SQL package and lock down all the internal details 
> (TypeTags, etc)
>  * Programatic API for viewing the schema of an RDD as a StructType
>  * Method that creates a schema RDD given (RDD[A], StructType, A => Row)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to