parthchandra commented on PR #7696:
URL: 
https://github.com/apache/datafusion-comet/pull/7696#issuecomment-7294719416

   > Thanks for making this opt-in and for the paired stage timings. I went 
through the coalescer against DataFusion's `ExternalSorter` and the fair pool, 
and the reservation handling looks right to me. It only uses `try_grow`, it 
turns `ResourcesExhausted` into a flush and a backoff, and it holds nothing 
while the sort reserves. The shared-column accounting and the guard for other 
Spark consumers also close the concerns from the earlier round.
   > 
   > One thing I would like in the `.doc` string for 
`spark.comet.exec.sort.coalesceInput.enabled`. It names the memory failure, but 
not the one shape that gets slower, which is a single-key sort that stays in 
memory past the gate. Your timings show about 16 percent there (16.51 s to 
19.09 s), because the sort pays for a copy that DataFusion's own run combining 
makes unnecessary. Could the text say that, so someone deciding whether to turn 
this on sees the cost next to the memory warning? `configs.md` is generated 
from that string, so this is the only place it needs to go.
   > 
   > In `docs/source/user-guide/latest/metrics.md`, the new `CometSort` section 
starts with "Native sorts report these additional metrics". Could that say 
"`CometSort` reports these additional metrics"? The style guide avoids "native" 
on its own (T3).
   > 
   > I would also like to see sunchao's re-review of the opt-in change before 
this merges, since the open memory questions were theirs.
   
   Done


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