WangGuangxin commented on issue #27558: [SPARK-30806][SQL]Evaluate once per group in UnboundedWindowFunctionFrame URL: https://github.com/apache/spark/pull/27558#issuecomment-586319340 I checked the logic in hive, it evaluate only once for unbound frame. Related code is https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/udf/ptf/WindowingTableFunction.java#L110. If the frame is unbound, `processWindow` return false, so that it goes to `out = new SameList(iPart.size(), out);`
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
