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. -- [image: MotaWord] Oytun Tez M O T A W O R D | CTO & Co-Founder [email protected] <https://www.motaword.com/blog> On Sat, Jun 13, 2020 at 3:32 PM Jaswin Shah <[email protected]> wrote: > I need some representation like this: > > > ------------------------------ > *From:* Jaswin Shah <[email protected]> > *Sent:* 14 June 2020 01:01 > *To:* [email protected] <[email protected]> > *Subject:* MapState in flink > > 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 >
