Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/17602#discussion_r110811551
--- 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[String]`,
--- End diff --
Scala example uses `Dataset` as below:

---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]