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

refactor(ir): merge ops.WindowFrame node into ops.WindowFunction #8779

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

kszucs
Copy link
Member

@kszucs kszucs commented Mar 26, 2024

WindowFrame was only used by WindowFunction adding an unnecessary indirection to the window abstraction. While merging them is useful from the IR perspective, backends like pandas must extract the frame part so that the executor can reuse the window frame computation.

@kszucs kszucs changed the title refactor(ir): remove ops.WindowFrame and simplify the binding process refactor(ir): remove ops.WindowFrame and simplify the binding process [WIP] Mar 26, 2024
@kszucs kszucs force-pushed the unbind-window-frame branch 6 times, most recently from 16150c4 to 00d857b Compare March 27, 2024 13:24
@kszucs kszucs changed the title refactor(ir): remove ops.WindowFrame and simplify the binding process [WIP] refactor(ir): merge ops.WindowFrame node into ops.WindowFunction Mar 27, 2024
@kszucs kszucs force-pushed the unbind-window-frame branch 2 times, most recently from 5b7de78 to 440935b Compare March 27, 2024 13:48
@kszucs kszucs marked this pull request as ready for review March 27, 2024 14:07
@kszucs kszucs requested a review from cpcloud March 27, 2024 16:26
@kszucs kszucs force-pushed the unbind-window-frame branch 3 times, most recently from 775d4be to 69ef5f3 Compare April 3, 2024 11:33
@kszucs kszucs requested review from jcrist and gforsyth April 3, 2024 15:25
Copy link
Member

@jcrist jcrist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine, no strong thoughts either way.

@kszucs kszucs merged commit 3cd5a1a into main Apr 4, 2024
88 of 169 checks passed
@kszucs kszucs deleted the unbind-window-frame branch April 4, 2024 09:49
@kszucs kszucs restored the unbind-window-frame branch April 4, 2024 09:49
@kszucs kszucs deleted the unbind-window-frame branch April 4, 2024 09:49
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.

2 participants