hvanhovell commented on code in PR #47464: URL: https://github.com/apache/spark/pull/47464#discussion_r1692315764
########## sql/core/src/main/scala/org/apache/spark/sql/functions.scala: ########## @@ -5743,7 +5728,7 @@ object functions { * @since 3.2.0 */ def session_window(timeColumn: Column, gapDuration: Column): Column = - Column.fn("session_window", timeColumn, gapDuration).as("session_window") Review Comment: Alias is not needed. This is added by the ResolveTimeWindows rule. -- 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