You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/12/29 01:57:11 UTC

[GitHub] [spark] HyukjinKwon commented on a diff in pull request #39249: [SPARK-41655][CONNECT] Enable doctests in pyspark.sql.connect.column

HyukjinKwon commented on code in PR #39249:
URL: https://github.com/apache/spark/pull/39249#discussion_r1058686880


##########
python/pyspark/sql/column.py:
##########
@@ -1258,8 +1258,7 @@ def over(self, window: "WindowSpec") -> "Column":
         >>> from pyspark.sql import Window
         >>> window = Window.partitionBy("name").orderBy("age") \
                 .rowsBetween(Window.unboundedPreceding, Window.currentRow)
-        >>> from pyspark.sql.functions import rank, min
-        >>> from pyspark.sql.functions import desc
+        >>> from pyspark.sql.functions import rank,min,desc

Review Comment:
   ```suggestion
           >>> from pyspark.sql.functions import rank, min, desc
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org