viirya opened a new pull request, #23946:
URL: https://github.com/apache/datafusion/pull/23946

   ## Rationale for this change
   
   Follow-up to post-merge review feedback from @neilconway on #23913.
   
   ## What changes are included in this PR?
   
   - Use the fast foldhash `RandomState` for the distinct-value count map 
instead of the standard library's default SipHash (the shared 
`GenericDistinctBuffer` already does this; the merged fix regressed to SipHash 
on this hot path).
   - Use `estimate_memory_size` in `size()` instead of a hand-rolled capacity 
calculation.
   - Adopt the null-free fast path in `update_batch`/`retract_batch` (skip 
per-element validity checks when the input has no nulls), mirroring 
`GenericDistinctBuffer`.
   - Add `ORDER BY` to the sliding-window regression test so its row order is 
deterministic.
   
   ## Are these changes tested?
   
   Yes — existing percentile unit tests and the full `aggregate.slt` pass.
   
   ## Are there any user-facing changes?
   
   No.
   


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