Flink Frens. I am really trying hard to understan...
# troubleshooting
d
Flink Frens. I am really trying hard to understand the implementation details of streaming queries, and joins. If I create a state based query, say with a ROW NUMBER in flink SQL, then join that with another table, I get this error:
StreamPhysicalOverAggregate  doesn't support consuming update and delete changes which is produced by node ChangelogNormalize
I really struggle to understand what Flink is trying to tell me. Where can I read about how to proceed? Am I fundamentally missing something about streaming queries? I want to enrich incoming data with a join to an existing table, I arrange the table data with a simple query for the latest record. When I do this the StreamPhysicalOverAggregate error appears. I am extremely confused about what I would expect is a simple query in flink: Enrich incoming data with the most recent record from a second data source. I'm puzzled as to where to go next.
m
I think https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/concepts/dynamic_tables/ is the best explainer on this. When you're running a regular join, you will end up with a changelog stream (that can contain updates and deletes), since the result of your join at T0 might be incorrect at T1 because something changes on the left or right side of your join, and then the earlier result at T0 need to be retracted and new result from T1 needs to be submitted