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


##########
datafusion/physical-plan/src/execution_plan.rs:
##########
@@ -165,6 +166,20 @@ pub trait ExecutionPlan: Any + Debug + DisplayAs + Send + 
Sync {
         check_default_invariants(self, check)
     }
 
+    /// Returns the dynamic expressions produced by this plan node.
+    ///
+    /// A dynamic expression is produced when this node updates or completes 
its
+    /// runtime state during execution. Expressions that this node only 
consumes
+    /// must not be returned. This method is shallow and does not include 
dynamic
+    /// expressions produced by child plans.
+    ///
+    /// Each returned expression must have a [`PhysicalExpr::expression_id`]
+    /// since all dynamic expressions such as [`DynamicFilterPhysicalExpr`]
+    /// have an expression id.
+    fn dynamic_expressions(&self) -> Vec<Arc<dyn PhysicalExpr>> {
+        Vec::new()
+    }

Review Comment:
   I agree making it clear this is about what dynamic expressions the plan 
produces in the name is 💯 



-- 
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