I think there should be no reason to do that.
Best,
Dawid
On 24/03/2020 09:29, Ilya Karpov wrote:
> Hi,
>
> given:
> - flink 1.6.1
> - stateful function with MapState<K, V> mapState = //init logic;
>
> Is there any reason I should call mapState.clear() if I know beforehand that there are no entries in mapState (e.g. mapState.iterator().hasNext() returns false)?
>
> Thanks in advance!