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

    https://github.com/apache/flink/pull/3851#discussion_r116215873
  
    --- Diff: 
flink-libraries/flink-table/src/test/java/org/apache/flink/table/api/java/utils/UserDefinedAggFunctions.java
 ---
    @@ -23,13 +23,37 @@
     import java.util.Iterator;
     
     public class UserDefinedAggFunctions {
    +    // Accumulator for test requiresOver
    +    public static class Accumulator0 extends Tuple2<Long, Integer>{}
     
         // Accumulator for WeightedAvg
         public static class WeightedAvgAccum extends Tuple2<Long, Integer> {
             public long sum = 0;
             public int count = 0;
         }
     
    +    // Test for requiresOver
    +    public static class OverAgg0 extends AggregateFunction<Long, 
Accumulator0> {
    --- End diff --
    
    please reorder classes that the `AggregateFunction` class follows the 
accumulator class


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to