Skip to content

Commit

Permalink
add getter method for LogicalPlanBuilder.plan (#12038)
Browse files Browse the repository at this point in the history
  • Loading branch information
emgeee authored Aug 18, 2024
1 parent cd9237f commit 950dc73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions datafusion/expr/src/logical_plan/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ impl LogicalPlanBuilder {
self.plan.schema()
}

/// Return the LogicalPlan of the plan build so far
pub fn plan(&self) -> &LogicalPlan {
&self.plan
}

/// Create an empty relation.
///
/// `produce_one_row` set to true means this empty node needs to produce a placeholder row.
Expand Down

0 comments on commit 950dc73

Please sign in to comment.