Abdullah Jaffer
07/06/2022, 12:05 AMselect sum(col1) as sum table group by col2
result:
sum col2
1 1
2 2
3 3
and then average the result, (1 + 2 +3)/3 = 2
I need a subquery for this, i think this is not supported in Pinot, can this be accomplished in the Trino connector? If so, how efficient is this? I don't want to avg the result code since that is not scalable due to unexpected no# of results in the group byMayank
Abdullah Jaffer
07/06/2022, 12:09 AMMayank
Abdullah Jaffer
07/06/2022, 12:12 AMMayank
Abdullah Jaffer
07/06/2022, 12:15 AM