Re: MapState in flink
Posted by
Congxian Qiu on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/MapState-in-flink-tp35935p35941.html
Hi
Could you please share why you need `MapState<String, ListState>` instead of `MapState<String, List<...>>`
Correct me @everyone if I'm wrong, but you cannot keep State inside State in that way. So change your signature to: MapState<String, List<...>>
The underlying mechanism wouldn't make sense in this state-inside-state shape.
I need some representation like this:
Hi,
Can anyone please help me on how can I create a MapState of ListState in flink, does flink support the same and if supports, how to declare the descriptor for same state data structure?
If it is not supported, how may I create similar datastructure for state in flink?
Thanks,
Jaswin