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
oy...@motaword.com

      <https://www.motaword.com/blog>


On Sat, Jun 13, 2020 at 3:32 PM Jaswin Shah <jaswin.s...@outlook.com> wrote:

> I need some representation like this:
>
>
> ------------------------------
> *From:* Jaswin Shah <jaswin.s...@outlook.com>
> *Sent:* 14 June 2020 01:01
> *To:* user@flink.apache.org <user@flink.apache.org>
> *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
>

Reply via email to