Skip to content

Commit

Permalink
Federation analyzer should federate the subquery when possible (#26)
Browse files Browse the repository at this point in the history
* optimize_recursively should check the provider for subqueries

* Preserve the vec<provider>,use apply_subqueries

* Federate subtree in subquery

* clean up

* Rewrite federation as optimizer rule

* Revert "Rewrite federation as optimizer rule"

This reverts commit e0ff999.

* Keep federaion rule as analyzer rule, handle InSubquery federation

* Wrap a Projection plan when the entire Insubquery can be federated

* not run scalar_subquery_to_join and update scalar subquery handling

* Resolve outref federation provider

* clean up

* Include table reference created by subquery aliases

* Remove redundant clone

* Do not panic on ScanResult unwrap
  • Loading branch information
Sevenannn authored Dec 23, 2024
1 parent bbc0f89 commit 04487ba
Show file tree
Hide file tree
Showing 5 changed files with 632 additions and 215 deletions.
210 changes: 0 additions & 210 deletions datafusion-federation/src/analyzer.rs

This file was deleted.

Loading

0 comments on commit 04487ba

Please sign in to comment.