Describe the bug
During benchmarking, I find that TPC-H q4 "hangs" indefinitely in the sort-merge join when there is not much memory allocated. I would expect the operator to be slow and spill but it seems to be in some kind of deadlock situation instead, with the stats never changing except for the "total time for joining".

Steps to reproduce
No response
Expected behavior
No response
Additional context
No response