gitmodimo commented on issue #35508:
URL: https://github.com/apache/arrow/issues/35508#issuecomment-3291256232

   I have realized that delta does not necessarily has to be constant 
throughout map->reduce stages. I added delta as options to tdigest_reduce  and 
tdigest_quantile  kernels and changes type to list<double not null>. Now 
tdigest centroid structs is as follows:
   ```
   struct_({
           field("mean", list(field("item", float64(), false)), false),
           field("weight", list(field("item", float64(), false)), false),
           field("min", float64(), true),
           field("max", float64(), true),
           field("count", uint64(), false),
       })
   
   ```


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to