2010YOUY01 commented on code in PR #16500: URL: https://github.com/apache/datafusion/pull/16500#discussion_r2187952197
########## datafusion/physical-plan/src/joins/nested_loop_join.rs: ########## @@ -825,7 +825,8 @@ impl<T: BatchTransformer> NestedLoopJoinStream<T> { handle_state!(ready!(self.fetch_probe_batch(cx))) } NestedLoopJoinStreamState::ProcessProbeBatch(_) => { - handle_state!(self.process_probe_batch()) + let poll = handle_state!(self.process_probe_batch()); + self.join_metrics.baseline.record_poll(poll) } NestedLoopJoinStreamState::ExhaustedProbeSide => { Review Comment: I think this state is also possible to output final result: because if it's left join, NLJ has to exhaust right input first, then output the unmatched left rows. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org