You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by fe...@apache.org on 2016/11/04 05:27:39 UTC
spark git commit: [SPARK-14393][SQL][DOC] update doc for python and R
Repository: spark
Updated Branches:
refs/heads/master aa412c55e -> a08463b1d
[SPARK-14393][SQL][DOC] update doc for python and R
## What changes were proposed in this pull request?
minor doc update that should go to master & branch-2.1
## How was this patch tested?
manual
Author: Felix Cheung <fe...@hotmail.com>
Closes #15747 from felixcheung/pySPARK-14393.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a08463b1
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a08463b1
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a08463b1
Branch: refs/heads/master
Commit: a08463b1d32348a81d0f148dfaf22741d5c23b1a
Parents: aa412c5
Author: Felix Cheung <fe...@hotmail.com>
Authored: Thu Nov 3 22:27:35 2016 -0700
Committer: Felix Cheung <fe...@apache.org>
Committed: Thu Nov 3 22:27:35 2016 -0700
----------------------------------------------------------------------
R/pkg/R/functions.R | 2 +-
python/pyspark/sql/functions.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/a08463b1/R/pkg/R/functions.R
----------------------------------------------------------------------
diff --git a/R/pkg/R/functions.R b/R/pkg/R/functions.R
index 4d94b4c..9a545f0 100644
--- a/R/pkg/R/functions.R
+++ b/R/pkg/R/functions.R
@@ -1485,7 +1485,7 @@ setMethod("soundex",
#' Return the partition ID as a column
#'
-#' Return the partition ID of the Spark task as a SparkDataFrame column.
+#' Return the partition ID as a SparkDataFrame column.
#' Note that this is nondeterministic because it depends on data partitioning and
#' task scheduling.
#'
http://git-wip-us.apache.org/repos/asf/spark/blob/a08463b1/python/pyspark/sql/functions.py
----------------------------------------------------------------------
diff --git a/python/pyspark/sql/functions.py b/python/pyspark/sql/functions.py
index 45e3c22..245357a 100644
--- a/python/pyspark/sql/functions.py
+++ b/python/pyspark/sql/functions.py
@@ -543,7 +543,7 @@ def shiftRightUnsigned(col, numBits):
@since(1.6)
def spark_partition_id():
- """A column for partition ID of the Spark task.
+ """A column for partition ID.
Note that this is indeterministic because it depends on data partitioning and task scheduling.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org