79517651

Date: 2025-03-18 13:51:44
Score: 1.5
Natty:
Report link

A better approach is to use DataStream API.

Use a FlatMap function to extract rows from list and then do the aggregation. Or use a MapFunction to caculate to only aggregate on a List rows.

These operations are not stateful so you are not using flink states. You also process each row individually so you do not need to set window at all.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: seyed mohammad hassan taba tab