Fork me on GitHub
#onyx
<
2018-03-19
>
sparkofreason01:03:14

What's the best way to get the bounds of a window? :lower-bound in the state-event map?

lucasbradstreet01:03:03

Do you mean from the lower bound extent in the state event to the corresponding time?

lucasbradstreet01:03:33

Oh, you mean you want to find out what the lowest bound of any of the windows are? lower-bound is just the lower bound for the current window being triggered.

sreekanth01:03:14

Hi, Can i group tasks across multiple jobs?

sparkofreason01:03:59

But it's the bound of the window, not the current minimum segment.

lucasbradstreet01:03:50

@sreekanth no, that’s not possible.

sparkofreason01:03:21

In other words, it's not going to change.

lucasbradstreet01:03:56

@dave.dixon right yeah. Hmm, would it be possible to create a second global window, and just track the minimum there?

sparkofreason01:03:00

When an updated segment is emitted for a window I want to be sure clients can identify that window and update appropriately. Sounds like that's how it behaves.

lucasbradstreet02:03:02

Based on my understanding of what you’re saying, that’s right.

sparkofreason23:03:59

When are windows merged, requiring the super-aggregation function?

lucasbradstreet23:03:18

The usual cause is when two session windows are merged into a single window because a new event causes the timeout gap to be too small to be two separate windows