LiaCastaneda commented on code in PR #19546:
URL: https://github.com/apache/datafusion/pull/19546#discussion_r2651400970
##########
datafusion/physical-plan/src/joins/hash_join/exec.rs:
##########
@@ -4610,6 +4635,11 @@ mod tests {
let dynamic_filter = HashJoinExec::create_dynamic_filter(&on);
let dynamic_filter_clone = Arc::clone(&dynamic_filter);
+ // Simulate a consumer by creating a transformed copy (what happens
during filter pushdown)
+ let _consumer = Arc::clone(&dynamic_filter)
+ .with_new_children(vec![])
+ .unwrap();
Review Comment:
Actually I think its better to check for is_used inside wait_complete.
--
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]