Skip to content

Commit 191524e

Browse files
chetmancinimarmbrus
authored andcommitted
[SPARK-6658][SQL] Update DataFrame documentation to fix type references.
First contribution here; would love to be getting some code contributions in soon. Let me know if there's anything about contribution process I should improve. Author: Chet Mancini <chetmancini@gmail.com> Closes #5316 from chetmancini/SPARK_6658_dataframe_doc and squashes the following commits: 53b627a [Chet Mancini] [SQL] SPARK-6658: Update DataFrame documentation to refer to correct types
1 parent 899ebcb commit 191524e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ class DataFrame private[sql](
273273
def printSchema(): Unit = println(schema.treeString)
274274

275275
/**
276-
* Prints the plans (logical and physical) to the console for debugging purpose.
276+
* Prints the plans (logical and physical) to the console for debugging purposes.
277277
* @group basic
278278
*/
279279
def explain(extended: Boolean): Unit = {
@@ -285,7 +285,7 @@ class DataFrame private[sql](
285285
}
286286

287287
/**
288-
* Only prints the physical plan to the console for debugging purpose.
288+
* Only prints the physical plan to the console for debugging purposes.
289289
* @group basic
290290
*/
291291
def explain(): Unit = explain(extended = false)
@@ -976,8 +976,8 @@ class DataFrame private[sql](
976976
def javaRDD: JavaRDD[Row] = toJavaRDD
977977

978978
/**
979-
* Registers this RDD as a temporary table using the given name. The lifetime of this temporary
980-
* table is tied to the [[SQLContext]] that was used to create this DataFrame.
979+
* Registers this [[DataFrame]] as a temporary table using the given name. The lifetime of this
980+
* temporary table is tied to the [[SQLContext]] that was used to create this DataFrame.
981981
*
982982
* @group basic
983983
*/
@@ -1252,7 +1252,7 @@ class DataFrame private[sql](
12521252
////////////////////////////////////////////////////////////////////////////
12531253

12541254
/**
1255-
* Save this RDD to a JDBC database at `url` under the table name `table`.
1255+
* Save this [[DataFrame]] to a JDBC database at `url` under the table name `table`.
12561256
* This will run a `CREATE TABLE` and a bunch of `INSERT INTO` statements.
12571257
* If you pass `true` for `allowExisting`, it will drop any table with the
12581258
* given name; if you pass `false`, it will throw if the table already
@@ -1276,7 +1276,7 @@ class DataFrame private[sql](
12761276
}
12771277

12781278
/**
1279-
* Save this RDD to a JDBC database at `url` under the table name `table`.
1279+
* Save this [[DataFrame]] to a JDBC database at `url` under the table name `table`.
12801280
* Assumes the table already exists and has a compatible schema. If you
12811281
* pass `true` for `overwrite`, it will `TRUNCATE` the table before
12821282
* performing the `INSERT`s.

0 commit comments

Comments
 (0)