1
votes

What are the similarities and differences of KeyBy and GroupBy in Flink? If one is using the Table/SQL API in a Table only program is GroupBy equivalent to KeyBy?

2

2 Answers

5
votes

The streaming GroupBy in the Table/SQL API is the keyBy from the DataStream API.

1
votes

KeyBy is used for Streams data(incase of keyed Streams) and GroupBy is used for Data set API for Batch Processing.