Re: [DISCUSS] Deprecate and remove UnionList OperatorState

2020-09-18 Thread Aljoscha Krettek
On 12.09.20 17:20, Alexey Trenikhun wrote: We use union state to generate sequences, each operator generates offset0 + number-of-tasks - task-index + task-specific-counter * number-of-tasks (e.g. for 2 instances of operator -one instance produce even number, another odd). Last generated seque

Re: [DISCUSS] Deprecate and remove UnionList OperatorState

2020-09-14 Thread Alexey Trenikhun
Subject: Re: [DISCUSS] Deprecate and remove UnionList OperatorState Generally +1 The one use case I've seen of union state I've seen in production (outside of sources and sinks) is as a "poor mans" broadcast state. This was obviously before that feature was added which is now

Re: [DISCUSS] Deprecate and remove UnionList OperatorState

2020-09-13 Thread Steven Wu
:* Seth Wiesman > *Sent:* Wednesday, September 9, 2020 9:37:03 AM > *To:* dev > *Cc:* Aljoscha Krettek ; user > *Subject:* Re: [DISCUSS] Deprecate and remove UnionList OperatorState > > Generally +1 > > The one use case I've seen of union state I've seen in prod

Re: [DISCUSS] Deprecate and remove UnionList OperatorState

2020-09-09 Thread Seth Wiesman
Generally +1 The one use case I've seen of union state I've seen in production (outside of sources and sinks) is as a "poor mans" broadcast state. This was obviously before that feature was added which is now a few years ago so I don't know if those pipelines still exist. FWIW, if they do the stat

Re: [DISCUSS] Deprecate and remove UnionList OperatorState

2020-09-09 Thread Arvid Heise
+1 to getting rid of non-keyed state as is in general and for union state in particular. I had a hard time to wrap my head around the semantics of non-keyed state when designing the rescale of unaligned checkpoint. The only plausible use cases are legacy source and sinks. Both should also be rewor