yashdotrv commented on PR #27677:
URL: https://github.com/apache/datafusion/pull/27677#issuecomment-7313559421

   @benjibunbun thanks for working through this, I ran the state transitions 
and the updated tests, and the overall approach is fine. The main concern for 
me is the cost of making this behavior default-on... on persistently 
high-cardinality input, the retry windows still perform grouping work even when 
the probe is expected to fail. This PR currently reports approximately 6% 
overhead on short unique input, while the related design discussion mentioned a 
target close to 1% in the worst case. Before merging, could we get one clean 
paired comparison against main using the same optimized build and pinned input 
for:
   -  short and long unique-key input; and H2O Q10 or another near-unique 
grouped workload;
   - external_aggr under memory pressure, changing-key and late-changing-key 
input, and repeated-key input as the positive-control case.
   
   It would be useful to report the median over several runs, with the same 
partition count, batch size, memory configuration, and threshold settings on 
both sides. Also, I would like to understand:
   - the percentage of rows re-aggregated by failed probes, the number of 
retries per partition, and the resulting partial-output rows and shuffle volume.
   - whether the 4/8/16 backoff materially improves the worst case, and the 
recovery benefit on changing distributions outweighs the overhead on 
permanently unique input.


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