Skip to content
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

Support window operations on Structured Streaming data sources #327

Open
edurdevic opened this issue May 5, 2023 · 1 comment
Open

Support window operations on Structured Streaming data sources #327

edurdevic opened this issue May 5, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@edurdevic
Copy link

At the moment, Spark does not support window functions (like lag or head) on a stream.

It would be great if you could add support for those type of operation.

@tnixon tnixon added the enhancement New feature or request label May 5, 2023
@tnixon
Copy link
Contributor

tnixon commented May 5, 2023

Thanks for the suggestion, @edurdevic. There are some windowing functions that are supported on streams, see:
https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#types-of-time-windows

However, we are limited in what we can provide without fundamentally modifying the core of the Spark streaming engine.

We are looking to add streaming support for some Tempo operations including as-of-joins and resampling. @Sonali-guleria can comment further on our efforts in this area and whether operations like lag or head are possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants