Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
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
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
I need some representation like this:
![]() From: Jaswin Shah <[hidden email]>
Sent: 14 June 2020 01:01 To: [hidden email] <[hidden email]> 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
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
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. On Sat, Jun 13, 2020 at 3:32 PM Jaswin Shah <[hidden email]> wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi Could you please share why you need `MapState<String, ListState>` instead of `MapState<String, List<...>>` Best, Congxian Oytun Tez <[hidden email]> 于2020年6月14日周日 上午3:39写道:
... [show rest of quote] |
Free forum by Nabble | Edit this page |