-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Minor: some cosmetics in filter.rs
, fix clippy due to logical conflict
#11368
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @comphead
@@ -91,14 +88,14 @@ impl FilterExec { | |||
|
|||
Ok(Self { | |||
predicate, | |||
input: input.clone(), | |||
input: Arc::clone(&input), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was causing clippy failures on main https://github.com/apache/datafusion/actions/runs/9857745125/job/27217695529
I think due to a logical conflict
Err(_) => { | ||
let Ok(null_array) = as_null_array(&array) else { | ||
return internal_err!("Cannot create filter_array from non-boolean predicates, unable to continute"); | ||
return internal_err!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
filter.rs
filter.rs
, fix clippy due to logical conflict
Merging this one in to get the fix for clippy |
…ict (apache#11368) * Minor: some cosmetics in `filter.rs` * Minor: some cosmetics in `filter.rs`
…ict (apache#11368) * Minor: some cosmetics in `filter.rs` * Minor: some cosmetics in `filter.rs`
Which issue does this PR close?
Closes #.
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?