Skip to content

Commit

Permalink
modify according to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jackylk committed Feb 26, 2015
1 parent bb54537 commit 7cdbe91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ class DataFrame protected[sql](
* @param numRows Number of rows to show
* @group basic
*/
def show(numRows: Int = 20): Unit = println(showString(numRows))
def show(numRows: Int): Unit = println(showString(numRows))

/**
* Displays the [[DataFrame]] in a tabular form. (For Java compatibility)
* Displays the top 20 rows of [[DataFrame]] in a tabular form.
*/
def show(): Unit = println(showString(20))
def show(): Unit = show(20)

/**
* Cartesian join with another [[DataFrame]].
Expand Down

0 comments on commit 7cdbe91

Please sign in to comment.