gabotechs commented on PR #19761:
URL: https://github.com/apache/datafusion/pull/19761#issuecomment-3935748767
> Would it make sense to detect an empty build side right after
collect_build_side completes, and for join types where empty build --> empty
output , drop the probe stream immediately and jump to Completed?
This sounds good. It would be nice if this mechanism is handled by the
dynamic filter rather than just an `if build_side.rows == 0 { return Completed;
}`, as at the end of the day, this is just an extreme case of dynamic filtering.
That could give the chance to nodes like `BufferExec` to intercept that
there's a dynamic filter below, and that it should hold on a bit the buffering
to see if some work can be skipped.
--
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]