Skip to content

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

Merged
mustafasrepo merged 2 commits into
apache:mainfrom
synnada-ai:refactor/remove_input_schema
Oct 13, 2023
Merged

[Minor]: Remove input_schema field from window executor#7810
mustafasrepo merged 2 commits into
apache:mainfrom
synnada-ai:refactor/remove_input_schema

Conversation

@mustafasrepo

Copy link
Copy Markdown
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

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

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

@comphead comphead left a comment

Copy link
Copy Markdown
Contributor

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

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