beliefer commented on a change in pull request #28685:
URL: https://github.com/apache/spark/pull/28685#discussion_r470474638
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/windowExpressions.scala
##########
@@ -474,6 +479,54 @@ case class Lag(input: Expression, offset: Expression,
default: Expression)
override val direction = Descending
}
+/**
+ * The NthValue function returns the value of `input` at the `offset`th row of
beginning
Review comment:
OK
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/windowExpressions.scala
##########
@@ -474,6 +479,54 @@ case class Lag(input: Expression, offset: Expression,
default: Expression)
override val direction = Descending
}
+/**
+ * The NthValue function returns the value of `input` at the `offset`th row of
beginning
+ * the window partition (counting from 1). Offsets start at 1. When the value
of `input` is null
Review comment:
OK
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]