ekuiper icon indicating copy to clipboard operation
ekuiper copied to clipboard

session window with group

Open loleek opened this issue 1 year ago • 6 comments

Can session window support group by key like this Session window (Azure Stream Analytics) When a partition key is provided, the events are grouped together by the key and session window is applied to each group independently. This is useful for cases where you need different session windows for different users or devices.

loleek avatar May 23 '23 02:05 loleek

@loleek Good idea. And that could be extended to other window types as well.

By the way, just curious, what is your usage scenario for session window?

ngjaying avatar May 23 '23 03:05 ngjaying

Like the description in azure,I need session window to track actions on every device.

loleek avatar May 23 '23 03:05 loleek

I'm investigating this for my requirement. Maybe I can file a PR.

loleek avatar May 25 '23 02:05 loleek

Really appreciate it! Look forward to your PR.

ngjaying avatar May 25 '23 02:05 ngjaying

I've alreay implement it on version 1.9.2 except SQL part.I wonder which branch should I file, I saw master, master-1.9 and master-1.10. @ngjaying Thanks.

loleek avatar Jun 21 '23 02:06 loleek

We expect new features to merge into master only, so please use master. By the way, we did a lot of refactor on windowing, you may see conflicts.

ngjaying avatar Jun 21 '23 03:06 ngjaying