Slackbot
03/22/2023, 5:38 PMVadim
03/22/2023, 6:23 PMage and you want to be able to compute min, max, and avg later on...Renato Santos
03/22/2023, 6:23 PMavg (arithmetic mean) you kinda can if you also add a new metric for count and sum but yeah, it's not possible to get avg directly from the rollup. you can, however, make good assumptions, using thetasketchVadim
03/22/2023, 6:24 PMmin_age , max_age and sum_age. Then you could do MIN(min_age) as min_age , MAX(max_age) as max_age , SUM(sum_age) / SUM(count) AS avg_ageRenato Santos
03/22/2023, 6:25 PMVadim
03/22/2023, 6:25 PMcount metric (you would be crazy not to do it with rollup)Hao Wang
03/22/2023, 6:26 PMVadim
03/22/2023, 6:27 PMHao Wang
03/22/2023, 6:28 PMVadim
03/22/2023, 6:33 PMAdd metric and add it your self.Hao Wang
03/22/2023, 6:34 PM