Skip to content

Commit cecbd8b

Browse files
committed
Add comment on blind cast.
1 parent 427c179 commit cecbd8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/WindowExec.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ case class WindowExec(
209209
new OffsetWindowFunctionFrame(
210210
target,
211211
ordinal,
212+
// OFFSET frame functions are guaranteed be OffsetWindowFunctions.
212213
functions.map(_.asInstanceOf[OffsetWindowFunction]),
213214
child.output,
214215
(expressions, schema) =>

0 commit comments

Comments
 (0)