Skip to content
Snippets Groups Projects
Commit 8193a266 authored by zero323's avatar zero323 Committed by Reynold Xin
Browse files

[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.
parent 8014a516
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment