Reputation: 305
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?
Upvotes: 1
Views: 1887
Reputation: 43499
The streaming GroupBy in the Table/SQL API is the keyBy from the DataStream API.
Upvotes: 8
Reputation: 49
KeyBy is used for Streams data(incase of keyed Streams) and GroupBy is used for Data set API for Batch Processing.
Upvotes: 1