Not exactly. The named tuples, used for the aggregation look like this:
julia> include("local_tests/test_aggregate2.jl")
(CAT_CMI_C_T = :CAT_CMI_C => maximum,)
time: 0.011
(CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, GVZ_WXK = :GVZ_WXK => sum)
time: 0.0
(CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum)
time: 0.0
(CAT_MOUSE_C = :CAT_MOUSE_C => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, GVZ_WXK = :GVZ_WXK => sum)
time: 0.046
(CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum)
time: 0.0
(CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, CAT_FREIG_WGT_CNT_C = :CAT_FREIG_WGT_CNT_C => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, CAT_WEIGHT = :CAT_WEIGHT => sum, GVZ_WXK = :GVZ_WXK => sum)
time: 0.0
(CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, CAT_CMI_C = :CAT_CMI_C => sum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, WW_OP = :WW_OP => maximum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum)
time: 0.048
(WW_OP = :WW_OP => maximum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum)
time: 0.0
(CAT_MOUSE = :CAT_MOUSE => sum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_UTRECHT_CNT_C = :CAT_UTRECHT_CNT_C => sum, GVZ_WXK = :GVZ_WXK => sum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum)
time: 0.0
(CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_UTRECHT_CNT_C = :CAT_UTRECHT_CNT_C => sum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, CAT_WEIGHT = :CAT_WEIGHT => sum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum)
time: 0.0
(CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, GVZ_WXK = :GVZ_WXK => sum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_MOUSE = :CAT_MOUSE => sum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum)
time: 0.0
(CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, GVZ_WXK = :GVZ_WXK => sum, CAT_UTRECHT_CNT_C = :CAT_UTRECHT_CNT_C => sum, CAT_WEIGHT = :CAT_WEIGHT => sum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_CMI_C = :CAT_CMI_C => sum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_MOUSE = :CAT_MOUSE => sum, WW_OP = :WW_OP => maximum)
time: 0.0
(AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, CAT_MOUSE_T = :CAT_MOUSE => maximum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, CAT_FREIG_WGT_CNT_C = :CAT_FREIG_WGT_CNT_C => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, WW_OP = :WW_OP => maximum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, HWR_KT = :HWR_KT => maximum, GVZ_WXK = :GVZ_WXK => sum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum)
time: 0.0
(CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, CAT_CMI_C = :CAT_CMI_C => sum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_MOUSE_T = :CAT_MOUSE => maximum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, GVZ_WXK = :GVZ_WXK => sum)
time: 0.046
(CAT_MOUSE = :CAT_MOUSE => sum, GVZ_WXK = :GVZ_WXK => sum, WW_OP = :WW_OP => maximum, CAT_WEIGHT = :CAT_WEIGHT => sum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, HWR_KT = :HWR_KT => maximum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum, CAT_MOUSE_T = :CAT_MOUSE => maximum, CAT_MOUSE_C = :CAT_MOUSE_C => sum)
time: 0.001
(CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, CAT_FREIG_WGT_CNT_C = :CAT_FREIG_WGT_CNT_C => sum, CAT_CMI_C = :CAT_CMI_C => sum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_UTRECHT_CNT_C = :CAT_UTRECHT_CNT_C => sum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, WW_OP = :WW_OP => maximum, CAT_MOUSE = :CAT_MOUSE => sum, CAT_MOUSE_T = :CAT_MOUSE => maximum, GVZ_WXK = :GVZ_WXK => sum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum)
time: 0.0
(CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_CMI_C = :CAT_CMI_C => sum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_FREIG_WGT_CNT_C = :CAT_FREIG_WGT_CNT_C => sum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum, CAT_MOUSE_T = :CAT_MOUSE => maximum, HWR_KT = :HWR_KT => maximum, CAT_WEIGHT = :CAT_WEIGHT => sum, GVZ_WXK = :GVZ_WXK => sum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum)
time: 0.046
(CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, GVZ_WXK = :GVZ_WXK => sum, CAT_WEIGHT = :CAT_WEIGHT => sum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, HWR_KT = :HWR_KT => maximum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, CAT_FREIG_WGT_CNT_C = :CAT_FREIG_WGT_CNT_C => sum, CAT_CMI_C = :CAT_CMI_C => sum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_MOUSE = :CAT_MOUSE => sum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_MOUSE_T = :CAT_MOUSE => maximum)
time: 0.049
(CAT_WEIGHT = :CAT_WEIGHT => sum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, CAT_CMI_C = :CAT_CMI_C => sum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, CAT_UTRECHT_CNT_C = :CAT_UTRECHT_CNT_C => sum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, WW_OP = :WW_OP => maximum, CAT_MOUSE_T = :CAT_MOUSE => maximum, GVZ_WXK = :GVZ_WXK => sum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, HWR_KT = :HWR_KT => maximum, CAT_MOUSE = :CAT_MOUSE => sum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum)
time: 0.048
(HWR_KT = :HWR_KT => maximum, CAT_FREIG_WGT_CNT_C = :CAT_FREIG_WGT_CNT_C => sum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, CAT_WEIGHT = :CAT_WEIGHT => sum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, GVZ_WXK = :GVZ_WXK => sum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, CAT_MOUSE = :CAT_MOUSE => sum, CAT_CMI_C = :CAT_CMI_C => sum, WW_OP = :WW_OP => maximum, CAT_UTRECHT_CNT_C = :CAT_UTRECHT_CNT_C => sum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum)
time: 0.0
(CAT_UTRECHT_CNT_C = :CAT_UTRECHT_CNT_C => sum, WW_OP = :WW_OP => maximum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, HWR_KT = :HWR_KT => maximum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, CAT_MOUSE_T = :CAT_MOUSE => maximum, CAT_CMI_C = :CAT_CMI_C => sum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum, GVZ_WXK = :GVZ_WXK => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_FREIG_WGT_CNT_C = :CAT_FREIG_WGT_CNT_C => sum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_WEIGHT = :CAT_WEIGHT => sum)
time: 0.048
(HWR_KT = :HWR_KT => maximum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, CAT_MOUSE_T = :CAT_MOUSE => maximum, CAT_UTRECHT_CNT_C = :CAT_UTRECHT_CNT_C => sum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_FREIG_WGT_CNT_C = :CAT_FREIG_WGT_CNT_C => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, CAT_CMI_C = :CAT_CMI_C => sum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_WEIGHT = :CAT_WEIGHT => sum, GVZ_WXK = :GVZ_WXK => sum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, WW_OP = :WW_OP => maximum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum)
time: 0.0
(HWR_KT = :HWR_KT => maximum, AMS_CMI_HRV = :AMS_CMI_HRV => sum, CAT_WEIGHT_C = :CAT_WEIGHT_C => sum, AMS_CMI_TOT = :AMS_CMI_TOT => sum, CAT_FREIG_WGT_CNT_T = :CAT_FREIG_WGT_CNT => maximum, CAT_MOUSE_C = :CAT_MOUSE_C => sum, CAT_FREIG_WGT_CNT = :CAT_FREIG_WGT_CNT => sum, CAT_CMI_C = :CAT_CMI_C => sum, CAT_UTRECHT_CNT_T = :CAT_UTRECHT_CNT => maximum, CAT_UTRECHT_CNT_C = :CAT_UTRECHT_CNT_C => sum, WW_OP = :WW_OP => maximum, CAT_FREIG_WGT_CNT_C_T = :CAT_FREIG_WGT_CNT_C => maximum, CAT_UTRECHT_CNT = :CAT_UTRECHT_CNT => sum, AMS_CMI_DIFF = :AMS_CMI_DIFF => sum, CAT_FREIG_WGT_CNT_C = :CAT_FREIG_WGT_CNT_C => sum, CAT_WEIGHT_C_T = :CAT_WEIGHT_C => maximum, CAT_MOUSE = :CAT_MOUSE => sum, CAT_CMI_C_T = :CAT_CMI_C => maximum, CAT_MOUSE_C_T = :CAT_MOUSE_C => maximum, CAT_WEIGHT = :CAT_WEIGHT => sum, GVZ_WXK = :GVZ_WXK => sum, CAT_MOUSE_T = :CAT_MOUSE => maximum, CAT_UTRECHT_DIS_CNT = :CAT_UTRECHT_DIS_CNT => sum)
time: 0.0
This is artificial data, in reality this are user queries, but what the user queries is kind of random. And this is really recompilation that is sometimes triggered. I turned of the GC to be sure. And the time needed becomes shorter if I use Julia -O0, this is also a hint that the time is needed for recompilation.