-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-7941: [Rust] [DataFusion] Add support for named columns in logi…
…cal plan This PR adds support for unresolved columns in the logical plan so that users can add columns by name rather than index. There is a new optimizer rule that will resolve these columns and replace them with indices in the plan. This PR also: - Removes pointless `Arc`s from the optimizer rules - Optimizer rules now leverage `LogicalPlanBuilder` for much more concise and readable code Closes #6730 from andygrove/ARROW-7941 Authored-by: Andy Grove <andygrove73@gmail.com> Signed-off-by: Andy Grove <andygrove73@gmail.com>
- Loading branch information
Showing
10 changed files
with
386 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,6 @@ | |
|
||
pub mod optimizer; | ||
pub mod projection_push_down; | ||
pub mod resolve_columns; | ||
pub mod type_coercion; | ||
pub mod utils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.