Hey there- If I call .`clear()` on a `ValueStateDe...
# random
c
Hey there- If I call .
clear()
on a
ValueStateDescriptor
in pyflink, does the state get set to
None
? Or is it something else? What about for a
ListStateDescriptor
?
d
When you
clear
a ValueState object, the state for the current key is completely removed -- nothing is left behind. If you try to subsequently get its value, that will return null (the same as if the state for that key had never existed at all). The same is true for ListState.