[
https://issues.apache.org/jira/browse/SPARK-5260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286250#comment-14286250
]
Yin Huai commented on SPARK-5260:
---------------------------------
[~sonixbp] Unfortunately, I failed to come up with a proper name. Will try
again:)
> Expose JsonRDD.allKeysWithValueTypes() in a utility class
> ----------------------------------------------------------
>
> Key: SPARK-5260
> URL: https://issues.apache.org/jira/browse/SPARK-5260
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Corey J. Nolet
>
> I have found this method extremely useful when implementing my own strategy
> for inferring a schema from parsed json. For now, I've actually copied the
> method right out of the JsonRDD class into my own project but I think it
> would be immensely useful to keep the code in Spark and expose it publicly
> somewhere else- like an object called JsonSchema.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]