alamb commented on code in PR #26669:
URL: https://github.com/apache/datafusion/pull/26669#discussion_r4671449651


##########
datafusion/physical-plan/src/execution_plan.rs:
##########
@@ -1998,7 +1998,9 @@ pub fn check_not_null_constraints(
 ///
 /// While this function enables plan reuse, it does not allow the same plan to 
be executed if it (OR):
 ///
-/// * uses dynamic filters,
+/// * uses dynamic filters and the original plan (or another reset copy) is 
still

Review Comment:
   maybe my question is more like given the docs 
https://github.com/apache/datafusion/blob/657d2cab48a5c3586fcfcb1bec416c333de9e966/datafusion/physical-plan/src/execution_plan.rs#L444-L471
 say
   
   ```rust
       /// This method is called when an [`ExecutionPlan`] needs to be 
re-executed,
       /// such as in recursive queries. Unlike 
[`ExecutionPlan::replace_children`], this method
       /// ensures that any stateful components (e.g., 
[`DynamicFilterPhysicalExpr`])
       /// are reset to their initial state.
   ```
   
   Why did we add a caveat to these docs? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to