Github user icexelloss commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21082#discussion_r190060086
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
 ---
    @@ -1869,6 +1870,8 @@ class Analyzer(
               case window: WindowExpression => window.windowSpec
             }.distinct
     
    +        val windowFunctionType = WindowFunctionType.functionType(expr)
    --- End diff --
    
    This is used for grouping window functions into sql window functions and 
pandas UDFs and create different logical node for them. The value is used here 
https://github.com/apache/spark/pull/21082/files#diff-57b3d87be744b7d79a9beacf8e5e5eb2R1886


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to