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

Plan hop(x, x) to tumble(x) #809

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Plan hop(x, x) to tumble(x) #809

merged 1 commit into from
Dec 12, 2024

Conversation

mwylde
Copy link
Member

@mwylde mwylde commented Dec 12, 2024

Currently queries involving sliding windows with the same slide and width (like hop(interval '10 seconds', interval '10 seconds)) produce unexpected behavior in the operator. But logically this is just a tumbling window which are more efficient. This PR recognizes this patterns and plans a tumbling window instead of a sliding window.

@mwylde mwylde enabled auto-merge (squash) December 12, 2024 19:30
@mwylde mwylde merged commit a8b95f1 into master Dec 12, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant