Skip to content

Fix federation pushing denied functions inside subqueries to remote engines#640

Merged
sgrebnov merged 1 commit intospiceai-52from
sgrebnov/0505-fix-deny-udfs
May 5, 2026
Merged

Fix federation pushing denied functions inside subqueries to remote engines#640
sgrebnov merged 1 commit intospiceai-52from
sgrebnov/0505-fix-deny-udfs

Conversation

@sgrebnov
Copy link
Copy Markdown
Collaborator

@sgrebnov sgrebnov commented May 5, 2026

Fixes contains_unsupported_functions not checking expressions inside IN, EXISTS, and scalar subqueries.

Root cause: plan.exists() walks plan inputs but does not descend into subquery expressions (Expr::InSubquery, Expr::ScalarSubquery, Expr::Exists). Replaced with plan.apply_with_subqueries() which additionally traverses nested subquery plans.

@sgrebnov sgrebnov merged commit f4f864d into spiceai-52 May 5, 2026
12 checks passed
@sgrebnov sgrebnov deleted the sgrebnov/0505-fix-deny-udfs branch May 5, 2026 16:27
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