Skip to content

Upgrade to DataFusion 53#164

Merged
hozan23 merged 4 commits into
datafusion-contrib:mainfrom
nuno-faria:datafusion_53
Mar 24, 2026
Merged

Upgrade to DataFusion 53#164
hozan23 merged 4 commits into
datafusion-contrib:mainfrom
nuno-faria:datafusion_53

Conversation

@nuno-faria
Copy link
Copy Markdown
Collaborator

No description provided.

Comment on lines +566 to +586
Expr::SetComparison(sc) => {
let expr = rewrite_table_scans_in_expr(*sc.expr, known_rewrites)?;
let subquery_plan = rewrite_table_scans(&sc.subquery.subquery, known_rewrites)?;
let outer_ref_columns = sc
.subquery
.outer_ref_columns
.into_iter()
.map(|e| rewrite_table_scans_in_expr(e, known_rewrites))
.collect::<Result<Vec<Expr>>>()?;
let subquery = Subquery {
subquery: Arc::new(subquery_plan),
outer_ref_columns,
spans: Spans::new(),
};
Ok(Expr::SetComparison(SetComparison::new(
Box::new(expr),
subquery,
sc.op,
sc.quantifier,
)))
}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Similar to Expr::InSubquery, as it also contains an expr and a subquery.

Comment thread Cargo.toml Outdated
@nuno-faria nuno-faria marked this pull request as ready for review March 24, 2026 19:56
@nuno-faria nuno-faria requested a review from hozan23 March 24, 2026 19:57
@hozan23 hozan23 merged commit d251a9f into datafusion-contrib:main Mar 24, 2026
7 checks passed
@hozan23
Copy link
Copy Markdown
Collaborator

hozan23 commented Mar 24, 2026

Thanks @nuno-faria

@github-actions github-actions Bot mentioned this pull request Mar 24, 2026
@nuno-faria nuno-faria deleted the datafusion_53 branch March 25, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants