Skip to content

Conversation

@Lordworms
Copy link
Contributor

Which issue does this PR close?

part of #9637

Closes #.

Rationale for this change

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 Apr 21, 2024
@Lordworms Lordworms marked this pull request as ready for review April 21, 2024 23:01
@Lordworms Lordworms force-pushed the issue_9637_filter_null_join_key branch from 2837e72 to 8b4b002 Compare April 21, 2024 23:32
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.

Thank you @Lordworms -- this looks great. Very nice

}

match plan {
LogicalPlan::Join(join) if join.join_type == JoinType::Inner => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Removing the clone() is beautiful 😍

@Lordworms Lordworms force-pushed the issue_9637_filter_null_join_key branch from a68422e to b2252b5 Compare April 22, 2024 20:05
.fold(not_null_exprs[0].clone(), |a, b| and(a, b.clone()))

// directly unwrap since it should always have a value
conjunction(not_null_exprs).unwrap()
Copy link
Contributor

Choose a reason for hiding this comment

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

🚀

@alamb alamb merged commit c96182b into apache:main Apr 23, 2024
@alamb
Copy link
Contributor

alamb commented Apr 23, 2024

Thanks again @Lordworms

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.

2 participants