viirya commented on PR #24349:
URL: https://github.com/apache/datafusion/pull/24349#issuecomment-5290694546

   Thanks @buraksenn — I checked both and found that this PR is a duplicate. 
Same root cause (transitioning before the output coalescer is drained), but 
yours fixes it at *both* phase boundaries via `next_drained_batch()` and also 
covers the Left/Full unmatched-pass infinite-loop (bug 1 in #24297) and the 
empty-placeholder batch — this PR only fixed the `process_stream_batch` 
right/full drop (your bug 2). I confirmed your PR resolves my repro too (RIGHT 
JOIN at small `batch_size` → correct count).
   
   Please go ahead with #24298 — no need to rebase onto it. I'll close #24349 
and issue #24348 as duplicates of #24297.
   


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