srowen commented on a change in pull request #23357: [MINOR][SQL] Change 
lead/lag argument name from count to offset
URL: https://github.com/apache/spark/pull/23357#discussion_r243723711
 
 

 ##########
 File path: python/pyspark/sql/functions.py
 ##########
 @@ -798,7 +798,7 @@ def factorial(col):
 # ---------------  Window functions ------------------------
 
 @since(1.4)
-def lag(col, count=1, default=None):
+def lag(col, offset=1, default=None):
 
 Review comment:
   Oh, please file a JIRA for this one, actually, as we do need to add this to 
the release notes as a very minor breaking change.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to