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

[Minor]: Remove input_schema field from window executor #7810

Merged
merged 2 commits into from
Oct 13, 2023
Merged

[Minor]: Remove input_schema field from window executor #7810

merged 2 commits into from
Oct 13, 2023

Conversation

mustafasrepo
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

As far as I am aware we do not need to keep input_schema in the state for WindowAggExec and BoundedWindowAggExec. We can reach this schema with self.input.schema when needed.

What changes are included in this PR?

This PR removes input_schema from WindowAggExec and BoundedWindowAggExec.

Are these changes tested?

Existing tests should work

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label Oct 12, 2023
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

This is a nice cleanup and makes a lot of sense to me -- thank you @mustafasrepo

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

👍
those 2 schemas were always super confusing

@mustafasrepo mustafasrepo merged commit 485b80e into apache:main Oct 13, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants