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

    https://github.com/apache/flink/pull/4379#discussion_r128657888
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/functions/AggregateFunction.scala
 ---
    @@ -136,8 +137,26 @@ abstract class AggregateFunction[T, ACC] extends 
UserDefinedFunction {
         */
       def getValue(accumulator: ACC): T
     
    -  /**
    -    * whether this aggregate only used in OVER clause
    +    /**
    +    * Returns true if this AggregateFunction can only be applied in an 
OVER window.
    +    *
    +    * @return true if the AggregateFunction requires an OVER window, false 
otherwise.
         */
       def requiresOver: Boolean = false
    +
    +  /**
    +    * Returns the TypeInformation for the result of the AggregateFunction.
    --- End diff --
    
    `TypeInformation for the result ` -> `TypeInformation of the result `


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to