Rachelint commented on PR #11827:
URL: https://github.com/apache/datafusion/pull/11827#issuecomment-2346985605
> > I am trying to find the reason.
>
> It is probably because there are 17M groups which each is holding multiple
aggregates each with non trivial state 🤔
Yes... I found state is much larger than the simple accumulators(e.g.
`count`, `sum`, `average`).
For example, the digest for `approx_percentile_cont`:
```
pub struct TDigest {
centroids: Vec<Centroid>,
max_size: usize,
sum: f64,
count: u64,
max: f64,
min: f64,
}
```
--
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]