Repository: spark
Updated Branches:
  refs/heads/branch-1.6 022e06d18 -> f9221ad79


[SPARK-14058][PYTHON] Incorrect docstring in Window.order

## What changes were proposed in this pull request?

Replaces current docstring ("Creates a :class:`WindowSpec` with the 
partitioning defined.") with "Creates a :class:`WindowSpec` with the ordering 
defined."

## How was this patch tested?

PySpark unit tests (no regression introduced). No changes to the code.

Author: zero323 <[email protected]>

Closes #11877 from zero323/order-by-description.

(cherry picked from commit 8193a266b50460078f64f59c63eae53cdbceeace)
Signed-off-by: Reynold Xin <[email protected]>


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

Branch: refs/heads/branch-1.6
Commit: f9221ad79b18a94b0525c0e4cf993d9e9f0e8791
Parents: 022e06d
Author: zero323 <[email protected]>
Authored: Mon Mar 21 23:52:33 2016 -0700
Committer: Reynold Xin <[email protected]>
Committed: Mon Mar 21 23:52:45 2016 -0700

----------------------------------------------------------------------
 python/pyspark/sql/window.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/f9221ad7/python/pyspark/sql/window.py
----------------------------------------------------------------------
diff --git a/python/pyspark/sql/window.py b/python/pyspark/sql/window.py
index 57bbe34..46663f6 100644
--- a/python/pyspark/sql/window.py
+++ b/python/pyspark/sql/window.py
@@ -60,7 +60,7 @@ class Window(object):
     @since(1.4)
     def orderBy(*cols):
         """
-        Creates a :class:`WindowSpec` with the partitioning defined.
+        Creates a :class:`WindowSpec` with the ordering defined.
         """
         sc = SparkContext._active_spark_context
         jspec = 
sc._jvm.org.apache.spark.sql.expressions.Window.orderBy(_to_java_cols(cols))


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to