Re: Managed Keyed state update
Posted by
Fabian Hueske-2 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Managed-Keyed-state-update-tp22284p22303.html
Hi,
It is recommended to always call update().
State modifications by modifying objects is only possible because the heap based backends do not serialize or copy records to avoid additional costs.
Hence, this is rather a side effect than a provided API. As soon as you change the state backend, state modifications might be lost if you do not call update().
Best, Fabian