aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSandy Ryza <sandy@cloudera.com>2014-09-19 15:34:48 -0700
committerMichael Armbrust <michael@databricks.com>2014-09-19 15:34:48 -0700
commit3b9cd13ebc108c7c6d518a760333cd992667126c (patch)
tree512cc9849f0d5d14bce0e5f55be3dbbe78976950 /sql
parenta95ad99e31c2d5980a3b8cd8e36ff968b1e6b201 (diff)
downloadspark-3b9cd13ebc108c7c6d518a760333cd992667126c.tar.gz
spark-3b9cd13ebc108c7c6d518a760333cd992667126c.tar.bz2
spark-3b9cd13ebc108c7c6d518a760333cd992667126c.zip
SPARK-3605. Fix typo in SchemaRDD.
Author: Sandy Ryza <sandy@cloudera.com> Closes #2460 from sryza/sandy-spark-3605 and squashes the following commits: 09d940b [Sandy Ryza] SPARK-3605. Fix typo in SchemaRDD.
Diffstat (limited to 'sql')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/SchemaRDD.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/SchemaRDD.scala b/sql/core/src/main/scala/org/apache/spark/sql/SchemaRDD.scala
index 3bc5dce095..3b873f7c62 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/SchemaRDD.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/SchemaRDD.scala
@@ -45,9 +45,8 @@ import org.apache.spark.api.java.JavaRDD
* explicitly using the `createSchemaRDD` function on a [[SQLContext]].
*
* A `SchemaRDD` can also be created by loading data in from external sources.
- * Examples are loading data from Parquet files by using by using the
- * `parquetFile` method on [[SQLContext]], and loading JSON datasets
- * by using `jsonFile` and `jsonRDD` methods on [[SQLContext]].
+ * Examples are loading data from Parquet files by using the `parquetFile` method on [[SQLContext]]
+ * and loading JSON datasets by using `jsonFile` and `jsonRDD` methods on [[SQLContext]].
*
* == SQL Queries ==
* A SchemaRDD can be registered as a table in the [[SQLContext]] that was used to create it. Once