Skip to content

Push down null filters for more join types#12348

Merged
Dandandan merged 4 commits intoapache:mainfrom
Dandandan:push_down_null_filters
Sep 6, 2024
Merged

Push down null filters for more join types#12348
Dandandan merged 4 commits intoapache:mainfrom
Dandandan:push_down_null_filters

Conversation

@Dandandan
Copy link
Contributor

@Dandandan Dandandan commented Sep 5, 2024

Which issue does this PR close?

Closes #12349

Rationale for this change

Possible performance improvements when input plans contain nullable fields.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the optimizer Optimizer rules label Sep 5, 2024
///
/// See [`lr_is_preserved`] for a definition of "preserved".
fn on_lr_is_preserved(join_type: JoinType) -> Result<(bool, bool)> {
pub(crate) fn on_lr_is_preserved(join_type: JoinType) -> (bool, bool) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

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.

that lgtm thanks @Dandandan

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

Labels

optimizer Optimizer rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Push down null filters for other types than inner join

2 participants