Hi devs, Recently, we noticed an issue regarding a feature regression related to Table API. `org.apache.flink.table.functions.TableAggregateFunction` provides an API `emitUpdateWithRetract` [1] to cope with updated values, but it's not being called in the code generator. As a result, even if users override this method, it does not work as intended.
This issue has been present since version 1.15 (when the old planner was deprecated), but surprisingly, only two users have raised concerns about it [2][3]. So, I would like to initiate a discussion to bring it back. Of course, if few users use it, we can also consider deprecating it. [1] https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/functions/udfs/#retraction-example [2] https://lists.apache.org/thread/rnvw8k3636dqhdttpmf1c9colbpw9svp [3] https://www.mail-archive.com/user-zh@flink.apache.org/msg15230.html Best, Jane