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

    https://github.com/apache/flink/pull/3783#discussion_r124037411
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/runtime/aggregate/GeneratedAggregations.scala
 ---
    @@ -20,16 +20,22 @@ package org.apache.flink.table.runtime.aggregate
     
     import org.apache.flink.api.common.functions.Function
     import org.apache.flink.types.Row
    +import org.apache.flink.api.common.functions.RuntimeContext
     
     /**
       * Base class for code-generated aggregations.
       */
     abstract class GeneratedAggregations extends Function {
    +  
    +  /**
    +    * Initialize the state for the distinct aggregation check
    +    *
    +    * @param ctx the runtime context to retrieve and initialize the 
distinct states
    +    */
    +  def initialize(ctx: RuntimeContext)
     
       /**
    -    * Sets the results of the aggregations (partial or final) to the 
output row.
    --- End diff --
    
    Why would you like to change this comment?


---
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