diff --git a/datafusion/physical-plan/src/filter_pushdown.rs b/datafusion/physical-plan/src/filter_pushdown.rs index 37cbd684909ba..689f629f7bac8 100644 --- a/datafusion/physical-plan/src/filter_pushdown.rs +++ b/datafusion/physical-plan/src/filter_pushdown.rs @@ -221,13 +221,13 @@ pub struct ChildPushdownResult { /// Returned from [`ExecutionPlan::handle_child_pushdown_result`] to communicate /// to the optimizer: /// -/// 1. What to do with any parent filters that were could not be pushed down into the children. +/// 1. What to do with any parent filters that could not be pushed down into the children. /// 2. If the node needs to be replaced in the execution plan with a new node or not. /// /// [`ExecutionPlan::handle_child_pushdown_result`]: crate::ExecutionPlan::handle_child_pushdown_result #[derive(Debug, Clone)] pub struct FilterPushdownPropagation { - /// What filters were pushed into the parent node. + /// Which parent filters were pushed down into this node's children. pub filters: Vec, /// The updated node, if it was updated during pushdown pub updated_node: Option,