[
https://issues.apache.org/jira/browse/SPARK-19637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15871491#comment-15871491
]
Takeshi Yamamuro commented on SPARK-19637:
------------------------------------------
`from_json`, too. I'm not sure but any reason that we didn't add these
functions in FunctionRegistry? cc: [~marmbrus]
I think it's easy to add like:
https://github.com/apache/spark/compare/master...maropu:SPARK-19637
> add to_json APIs to SQL
> -----------------------
>
> Key: SPARK-19637
> URL: https://issues.apache.org/jira/browse/SPARK-19637
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 2.1.0
> Reporter: Burak Yavuz
>
> The method "to_json" is a useful method in turning a struct into a json
> string. It currently doesn't work in SQL, but adding it should be trivial.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]