beliefer commented on code in PR #43958: URL: https://github.com/apache/spark/pull/43958#discussion_r1421871101
########## sql/core/src/main/scala/org/apache/spark/sql/execution/window/WindowFunctionFrame.scala: ########## @@ -230,7 +242,9 @@ class FrameLessOffsetWindowFunctionFrame( // 7. current row -> z, next selected row -> empty, output: null; // ... next selected row is empty, all following return null. (current: InternalRow) => - if (nextSelectedRow == EmptyRow) { + if (absOffset > input.length) { Review Comment: We can't do this. The `input` has not been initialized yet. -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org