diff options
author | zero323 <matthew.szymkiewicz@gmail.com> | 2016-03-21 23:52:33 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-03-21 23:52:33 -0700 |
commit | 8193a266b50460078f64f59c63eae53cdbceeace (patch) | |
tree | 040d053e7df45f3fb15b2ba723d640d580ce2063 /python/pyspark/sql/window.py | |
parent | 8014a516d1cbb0f0c7035e2149161aa32fb506f8 (diff) | |
download | spark-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/pyspark/sql/window.py')
-rw-r--r-- | python/pyspark/sql/window.py | 2 |
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)) |