Skip to content

Commit

Permalink
Fix doc reference in into_optimized_plan
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Jul 2, 2024
1 parent f2f5869 commit 423c4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/core/src/dataframe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ impl DataFrame {
/// Return the optimized [`LogicalPlan`] represented by this DataFrame.
///
/// Note: This method should not be used outside testing -- see
/// [`Self::into_optimized_plan`] for more details.
/// [`Self::into_unoptimized_plan`] for more details.
pub fn into_optimized_plan(self) -> Result<LogicalPlan> {
// Optimize the plan first for better UX
self.session_state.optimize(&self.plan)
Expand Down

0 comments on commit 423c4e0

Please sign in to comment.