Skip to content

Commit 7c9c585

Browse files
committed
add link to PlanContext
1 parent 2c66abd commit 7c9c585

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

datafusion/expr/src/logical_plan/tree_node.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,13 @@ impl LogicalPlan {
882882
/// to perform mutable operations via [`Self::update_plan_from_children`].
883883
/// After mutating the `LogicalPlanContext.children`, or after creating the `LogicalPlanContext`,
884884
/// call `update_plan_from_children` to sync.
885+
///
886+
/// See also:
887+
/// - [`datafusion_common::tree_node::TreeNode`] trait for tree traversal and mutation utilities.
888+
/// - [`datafusion_common::tree_node::ConcreteTreeNode`] trait for integrating with the tree node utilities.
889+
/// - [`datafusion::physical_plan::tree_node::PlanContext`] for a similar context for physical plans.
890+
///
891+
/// [`datafusion::physical_plan::tree_node::PlanContext`]: https://docs.rs/datafusion/latest/datafusion/physical_plan/tree_node/struct.PlanContext.html
885892
#[derive(Debug, Clone)]
886893
pub struct LogicalPlanContext<T: Sized> {
887894
/// The logical plan associated with this context.

0 commit comments

Comments
 (0)