[FLINK-10157] [State TTL] Allow `null` user values in map state with TTL #6707
What is the purpose of the change
This change allows to store null values with TTL and aligns the semantics of map state TTL get/contains methods with the map state w/o TTL.
Brief change log
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
This change is already covered by existing tests, such as (please describe tests).
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
StefanRRichter left a comment
Besides the inline comments, the PR looks good to me as a workaround to the problem. In the long run, we should get rid of the compulsory additional byte in map state, as should have happened in the original PR. You could create a ticket to change this for a breaking release so that it will not be forgotten.