We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da9904f commit 557f235Copy full SHA for 557f235
1 file changed
sources/sql/src/rewrite/plan.rs
@@ -318,7 +318,7 @@ fn rewrite_plan_with_known_rewrites(
318
}
319
LogicalPlan::Join(datafusion::logical_expr::Join { on, filter, .. }) => {
320
let mut new_expressions = vec![];
321
- if on.len() > 0 {
+ if !on.is_empty() {
322
for (left, right) in on {
323
let left = rewrite_table_scans_in_expr(
324
left.clone(),
0 commit comments