sunjincheng121 commented on a change in pull request #8359: 
[FLINK-11051][table] Add streaming window FlatAggregate to Table API
URL: https://github.com/apache/flink/pull/8359#discussion_r283166175
 
 

 ##########
 File path: docs/dev/table/tableApi.md
 ##########
 @@ -2066,16 +2066,37 @@ Table table = input
     }
     
 TableAggregateFunction tableAggFunc = new MyMinMax();
-tableEnv.registerFunction("myTableAggFunc", tableAggFunc);
+tableEnv.registerFunction("tableAggFunc", tableAggFunc);
 Table orders = tableEnv.scan("Orders");
 Table result = orders
     .groupBy("a")
-    .flatAggregate("myTableAggFunc(a) as (x, y)")
+    .flatAggregate("tableAggFunc(b) as (x, y)")
     .select("a, x, y");
 {% endhighlight %}
         <p><b>Note:</b> For streaming queries, the required state to compute 
the query result might grow infinitely depending on the type of aggregation and 
the number of distinct grouping keys. Please provide a query configuration with 
a valid retention interval to prevent excessive state size. See <a 
href="streaming/query_configuration.html">Query Configuration</a> for 
details.</p>
       </td>
     </tr>
+    
+    
+    <tr>
+      <td>
+        <strong>GroupBy Window TableAggregation</strong><br>
 
 Review comment:
   `GroupBy Window TableAggregation` -> `FlatAggregate`,  and I think it again 
It's better to describe the document from the perspective of an operator? such 
as: `FlatAggregate and FlatAggregate(Windowed). What do you think?
   
   
   So did the `GroupBy TableAggregation` section. 

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

Reply via email to