aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorzero323 <matthew.szymkiewicz@gmail.com>2016-03-21 23:52:33 -0700
committerReynold Xin <rxin@databricks.com>2016-03-21 23:52:33 -0700
commit8193a266b50460078f64f59c63eae53cdbceeace (patch)
tree040d053e7df45f3fb15b2ba723d640d580ce2063 /python
parent8014a516d1cbb0f0c7035e2149161aa32fb506f8 (diff)
downloadspark-8193a266b50460078f64f59c63eae53cdbceeace.tar.gz
spark-8193a266b50460078f64f59c63eae53cdbceeace.tar.bz2
spark-8193a266b50460078f64f59c63eae53cdbceeace.zip
[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 <matthew.szymkiewicz@gmail.com> Closes #11877 from zero323/order-by-description.
Diffstat (limited to 'python')
-rw-r--r--python/pyspark/sql/window.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/sql/window.py b/python/pyspark/sql/window.py
index 57bbe340bb..46663f69a0 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))