Hi, In short, yes if without user-defined functions. For UDFs, you'll have to ensure that it does cache data internally (maintain a local hash map for example), otherwise downstream ops may change the cached data and breaks data integrity.
Best, Zhanghao Chen ________________________________ From: dominik.buen...@swisscom.com <dominik.buen...@swisscom.com> Sent: Wednesday, January 22, 2025 17:33 To: user@flink.apache.org <user@flink.apache.org> Subject: Object-Reuse with Table API / Flink SQL Dear Flink Community I’ve got into a discussion with a colleague over the use of “object-reuse”. As far as I understood it is safe to use this configuration with the Table API or Flink SQL, but only if you’re not using the HashMap StateBackend (link<https://nightlies.apache.org/flink/flink-docs-master/docs/ops/state/state_backends/#the-hashmapstatebackend>)? Kind Regards Dominik