Repository: spark
Updated Branches:
  refs/heads/master 8014a516d -> 8193a266b


[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.


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

Branch: refs/heads/master
Commit: 8193a266b50460078f64f59c63eae53cdbceeace
Parents: 8014a51
Author: zero323 <[email protected]>
Authored: Mon Mar 21 23:52:33 2016 -0700
Committer: Reynold Xin <[email protected]>
Committed: Mon Mar 21 23:52:33 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/8193a266/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