Skip to content

[MINOR]: Move pipeline checker rule to the end#10502

Merged
alamb merged 2 commits intoapache:mainfrom
synnada-ai:minor/pipeline_checker_last
May 15, 2024
Merged

[MINOR]: Move pipeline checker rule to the end#10502
alamb merged 2 commits intoapache:mainfrom
synnada-ai:minor/pipeline_checker_last

Conversation

@mustafasrepo
Copy link
Copy Markdown
Contributor

@mustafasrepo mustafasrepo commented May 14, 2024

Which issue does this PR close?

Closes #.

Rationale for this change

PipelineChecker rule either accepts the physical plan (marking it as safe to execute) or rejects it. In this sense, it doesn't change anything in the plan. It just checks the validity of the generated plan. Hence, I think with this behavior it is more apropriate for this rule to execute after other rules (where plans might be modified by rules.)

With this PR, PipelineChecker works at the end after other rules.

What changes are included in this PR?

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 May 14, 2024
@mustafasrepo mustafasrepo changed the title [MINOR]: Move pipeline checker rule to at the end [MINOR]: Move pipeline checker rule to the end May 14, 2024
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label May 14, 2024
Copy link
Copy Markdown
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.

Makes sense to me -- thank you @mustafasrepo

@alamb alamb merged commit bed57df into apache:main May 15, 2024
findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
* Move pipeline checker to last

* Update slt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants