GitHub user yhuai opened a pull request: https://github.com/apache/spark/pull/999
[Spark 2060][SQL] Querying JSON Datasets with SQL and DSL in Spark SQL You can merge this pull request into a Git repository by running: $ git pull https://github.com/yhuai/spark newJson Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/999.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #999 ---- commit f31065f2aac5b5638c3f3a84ee3eb901da816f64 Author: Yin Huai <h...@cse.ohio-state.edu> Date: 2014-06-06T19:21:46Z A query plan or a SchemaRDD can print out its schema. commit f45583b0f244b6ef9293202333f82bcdc1abcd00 Author: Yin Huai <h...@cse.ohio-state.edu> Date: 2014-06-06T20:38:41Z Infer the schema of a JSON dataset (a text file with one JSON object per line or a RDD[String] with one JSON object per string) and returns a SchemaRDD. commit af91b23cf843defe8b962611d87ec73a28091300 Author: Yin Huai <h...@cse.ohio-state.edu> Date: 2014-06-06T20:40:05Z Merge remote-tracking branch 'upstream/master' into newJson ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---