spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felixche...@apache.org
Subject spark git commit: [SPARKR][MINOR] Fix doc for show method
Date Wed, 24 Aug 2016 17:40:32 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-2.0 33d79b587 -> 29091d7cd


[SPARKR][MINOR] Fix doc for show method

## What changes were proposed in this pull request?

The original doc of `show` put methods for multiple classes together but the text only talks
about `SparkDataFrame`. This PR tries to fix this problem.

## How was this patch tested?

Manual test.

Author: Junyang Qian <junyangq@databricks.com>

Closes #14776 from junyangq/SPARK-FixShowDoc.

(cherry picked from commit d2932a0e987132c694ed59515b7c77adaad052e6)
Signed-off-by: Felix Cheung <felixcheung@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/29091d7c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/29091d7c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/29091d7c

Branch: refs/heads/branch-2.0
Commit: 29091d7cd60c20bf019dc9c1625a22e80ea50928
Parents: 33d79b5
Author: Junyang Qian <junyangq@databricks.com>
Authored: Wed Aug 24 10:40:09 2016 -0700
Committer: Felix Cheung <felixcheung@apache.org>
Committed: Wed Aug 24 10:40:26 2016 -0700

----------------------------------------------------------------------
 R/pkg/R/DataFrame.R | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/29091d7c/R/pkg/R/DataFrame.R
----------------------------------------------------------------------
diff --git a/R/pkg/R/DataFrame.R b/R/pkg/R/DataFrame.R
index f8a05c6..ab45d2c 100644
--- a/R/pkg/R/DataFrame.R
+++ b/R/pkg/R/DataFrame.R
@@ -205,9 +205,9 @@ setMethod("showDF",
 
 #' show
 #'
-#' Print the SparkDataFrame column names and types
+#' Print class and type information of a Spark object.
 #'
-#' @param object a SparkDataFrame.
+#' @param object a Spark object. Can be a SparkDataFrame, Column, GroupedData, WindowSpec.
 #'
 #' @family SparkDataFrame functions
 #' @rdname show


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message