Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/17602#discussion_r110810364 --- Diff: docs/sql-programming-guide.md --- @@ -883,7 +883,7 @@ Configuration of Parquet can be done using the `setConf` method on `SparkSession <div data-lang="scala" markdown="1"> Spark SQL can automatically infer the schema of a JSON dataset and load it as a `Dataset[Row]`. -This conversion can be done using `SparkSession.read.json()` on either an RDD of String, +This conversion can be done using `SparkSession.read.json()` on either an Dataset of String, --- End diff -- Scala example uses `Dataset` as below: ![2017-04-11 10 21 12](https://cloud.githubusercontent.com/assets/6477701/24892046/c9c5dfac-1eb4-11e7-938c-fe6be4ef8b39.png)
--- 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. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org