LiaCastaneda commented on code in PR #18799:
URL: https://github.com/apache/datafusion/pull/18799#discussion_r2541031971


##########
datafusion/physical-expr/src/expressions/dynamic_filters.rs:
##########
@@ -57,6 +57,8 @@ struct Inner {
     /// This is used for [`PhysicalExpr::snapshot_generation`] to have a cheap 
check for changes.
     generation: u64,
     expr: Arc<dyn PhysicalExpr>,
+    /// Flag indicating whether all updates have been received and the filter 
is complete.
+    is_complete: bool,

Review Comment:
   good idea! so we want to notify on updates (which makes sense since right 
now we emit the filter once and not progressively), then upon the first 
notification the filter will be complete. I think its worth adding the complete 
flag, it might be useful if we ever want to update filters progressively or/and 
fetch both sides in parallel



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