We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97c904b commit c44f8e8Copy full SHA for c44f8e8
src/query/sql/src/planner/optimizer/rule/rewrite/rule_push_down_prewhere.rs
@@ -56,9 +56,7 @@ impl RulePushDownPrewhere {
56
fn collect_columns_impl(expr: &ScalarExpr, columns: &mut ColumnSet) -> Option<()> {
57
match expr {
58
ScalarExpr::BoundColumnRef(column) => {
59
- if column.column.table_name.is_none() {
60
- return None;
61
- }
+ column.column.table_name.as_ref()?;
62
columns.insert(column.column.index);
63
Some(())
64
}
0 commit comments