Skip to content

Commit 7cee579

Browse files
committed
fix rebase
1 parent f0fd9fa commit 7cee579

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

datafusion/optimizer/src/reorder_join/left_deep_join_plan.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,8 @@ pub fn optimal_left_deep_join_plan(
7575
plan: LogicalPlan,
7676
cost_estimator: &dyn JoinCostEstimator,
7777
) -> Result<LogicalPlan> {
78-
// Extract the join subtree and wrappers above the topmost join
79-
let (join_subtree, wrappers) =
80-
crate::reorder_join::query_graph::extract_join_subtree(plan)?;
81-
8278
// Convert join subtree to query graph
83-
let query_graph = QueryGraph::try_from(join_subtree)?;
79+
let (query_graph, wrappers) = QueryGraph::try_from_logical_plan(plan)?;
8480

8581
// Optimize the joins
8682
let mut optimized_joins =

0 commit comments

Comments
 (0)