-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing documentation for window functions #5520
Comments
I got part of the answer from pulsar:
But I'd still like to see documentation for what windowing is supposed to do :-) |
@candlerb Thank you very much for raising the issue. I'll look into the issue, and provide related docs soon. |
Sorry, I missed this message.
@candlerb Currently, does not support
|
@candlerb Currently, window function is supported in Java, not in Python. |
Yep, I got that. But I don't see any documentation for how it would work for a Java Pulsar Function either. |
@srkukarni could you help add the related documentation? |
Describe the bug
There is no documentation for window functions, and no python examples for window functions.
To Reproduce
Search for "window" in the docs (site2).
It's mentioned in passing:
(my emphasis)
In some CLI flags:
And in a reference to release notes:
Expected behavior
N/A
Screenshots
N/A
Desktop (please complete the following information):
N/A
Additional context
This functionality is really interesting to me, and I'd like to know (a) what it can do, and (b) if I can use it from python.
I'm particularly interested if it's possible to do e.g. a ten-minute rolling window, where I can add 1 to an internal counter for an event which enters the window, and remove 1 from a count when that event leaves the window, thus maintaining a running count.
It could be done without external support, but would require in-RAM buffering for all events over than 10 minute window - but buffering is what pulsar is for :-)
Externally I could maintain two readers: one at the current location and one at T-10 mins. But that wouldn't work as a pulsar function AFAICS.
The text was updated successfully, but these errors were encountered: