Add batch label? It seems batch already support distinct. BTW, over is not yet 
supported in batch.

Maybe it is better to remove these documents about distinct aggregation? Append 
a distinct column in all Aggregation examples?
For `GroupBy Aggregation`, change the sql 
from
```
Table orders = tableEnv.scan("Orders");
Table result = orders.groupBy("a").select("a, b.sum as d");
```
to
```
Table orders = tableEnv.scan("Orders");
Table result = orders.groupBy("a").select("a, b.sum as d, b.sum.distinct as e");
```
What's more, we probably should add UDAGG document like it in SQL document 
about Aggregations and add distinct column.

[ Full content available at: https://github.com/apache/flink/pull/6521 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to