Druid Groupby: druid's groupby considering only 1000 records per group to aggregate Average

I was calculating average of each group. Noticed that average it is calculating only for 1000 values per group instead of considering the complete data points.

This is a companion discussion topic for the original entry at https://stackoverflow.com/questions/71335904/druid-groupby-druids-groupby-considering-only-1000-records-per-group-to-aggreg