[jira] [Commented] (SPARK-19967) Add from_json APIs to SQL

2017-03-17 Thread Xiao Li (JIRA)

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

Xiao Li commented on SPARK-19967:
-

Resolved in the PR 
https://github.com/apache/spark/commit/7de66bae58733595cb88ec899640f7acf734d5c4

> Add from_json APIs to SQL
> -
>
> Key: SPARK-19967
> URL: https://issues.apache.org/jira/browse/SPARK-19967
> Project: Spark
>  Issue Type: New Feature
>  Components: SQL
>Affects Versions: 2.1.0
>Reporter: Xiao Li
> Fix For: 2.2.0
>
>
> The method "from_json" is a useful method in turning a string column into a 
> nested StructType with a user specified schema. The schema should be 
> specified in the DDL format



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

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



[jira] [Commented] (SPARK-19967) Add from_json APIs to SQL

2017-03-15 Thread Takeshi Yamamuro (JIRA)

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

Takeshi Yamamuro commented on SPARK-19967:
--

oh, looks great! Thanks!

> Add from_json APIs to SQL
> -
>
> Key: SPARK-19967
> URL: https://issues.apache.org/jira/browse/SPARK-19967
> Project: Spark
>  Issue Type: New Feature
>  Components: SQL
>Affects Versions: 2.1.0
>Reporter: Xiao Li
>
> The method "from_json" is a useful method in turning a string column into a 
> nested StructType with a user specified schema. The schema should be 
> specified in the DDL format for declaring the table schema. 



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

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



[jira] [Commented] (SPARK-19967) Add from_json APIs to SQL

2017-03-15 Thread Xiao Li (JIRA)

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

Xiao Li commented on SPARK-19967:
-

See the PR https://github.com/apache/spark/pull/17171 It is just merged very 
recently.

> Add from_json APIs to SQL
> -
>
> Key: SPARK-19967
> URL: https://issues.apache.org/jira/browse/SPARK-19967
> Project: Spark
>  Issue Type: New Feature
>  Components: SQL
>Affects Versions: 2.1.0
>Reporter: Xiao Li
>
> The method "from_json" is a useful method in turning a string column into a 
> nested StructType with a user specified schema. The schema should be 
> specified in the DDL format for declaring the table schema. 



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

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



[jira] [Commented] (SPARK-19967) Add from_json APIs to SQL

2017-03-15 Thread Takeshi Yamamuro (JIRA)

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

Takeshi Yamamuro commented on SPARK-19967:
--

Finally, what's the DDL format for schema? In my previous pr, I just used the 
format parsed by DataType.fromJson()
https://github.com/apache/spark/compare/master...maropu:SPARK-19637-2

> Add from_json APIs to SQL
> -
>
> Key: SPARK-19967
> URL: https://issues.apache.org/jira/browse/SPARK-19967
> Project: Spark
>  Issue Type: New Feature
>  Components: SQL
>Affects Versions: 2.1.0
>Reporter: Xiao Li
>
> The method "from_json" is a useful method in turning a string column into a 
> nested StructType with a user specified schema. The schema should be 
> specified in the DDL format for declaring the table schema. 



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

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



[jira] [Commented] (SPARK-19967) Add from_json APIs to SQL

2017-03-15 Thread Takeshi Yamamuro (JIRA)

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

Takeshi Yamamuro commented on SPARK-19967:
--

Yea, sure! I'll make a pr in a day! Thanks.
BTW I've already file a JIRA for this a few days ago: 
https://issues.apache.org/jira/browse/SPARK-19898

> Add from_json APIs to SQL
> -
>
> Key: SPARK-19967
> URL: https://issues.apache.org/jira/browse/SPARK-19967
> Project: Spark
>  Issue Type: New Feature
>  Components: SQL
>Affects Versions: 2.1.0
>Reporter: Xiao Li
>
> The method "from_json" is a useful method in turning a string column into a 
> nested StructType with a user specified schema. The schema should be 
> specified in the DDL format for declaring the table schema. 



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

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



[jira] [Commented] (SPARK-19967) Add from_json APIs to SQL

2017-03-15 Thread Xiao Li (JIRA)

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

Xiao Li commented on SPARK-19967:
-

cc  [~maropu]

> Add from_json APIs to SQL
> -
>
> Key: SPARK-19967
> URL: https://issues.apache.org/jira/browse/SPARK-19967
> Project: Spark
>  Issue Type: New Feature
>  Components: SQL
>Affects Versions: 2.1.0
>Reporter: Xiao Li
>
> The method "from_json" is a useful method in turning a string column into a 
> nested StructType with a user specified schema. The schema should be 
> specified in the DDL format for declaring the table schema. 



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

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