You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Takeshi Yamamuro (JIRA)" <ji...@apache.org> on 2017/03/18 04:09:41 UTC

[jira] [Commented] (SPARK-20009) Use user-friendly DDL formats for defining a schema in user-facing APIs

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

Takeshi Yamamuro commented on SPARK-20009:
------------------------------------------

Does this make sense? cc: [~smilegator] My prototype is here: https://github.com/apache/spark/compare/master...maropu:UserDDLForSchema

> Use user-friendly DDL formats for defining a schema  in user-facing APIs
> ------------------------------------------------------------------------
>
>                 Key: SPARK-20009
>                 URL: https://issues.apache.org/jira/browse/SPARK-20009
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Takeshi Yamamuro
>
> In https://issues.apache.org/jira/browse/SPARK-19830, we add a new API in the DDL parser to convert a DDL string into a schema. Then, we can use DDL formats in existing some APIs, e.g., functions.from_json https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L3062.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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