code: func setAggregationValueTypes(vals []core.TimestampedAggregationValue, wasInt map[string]bool) {
  	for _, aggregation := range core.MultiTypedAggregations {
  		if isInt, ok := wasInt[string(aggregation)]; ok && isInt {
  			for i := range vals {
  				val := vals[i].Aggregations[aggregation]
  				val.ValueType = core.ValueInt64
  				vals[i].Aggregations[aggregation] = val
  			}
  		} else if ok {
  			for i := range vals {
  				val := vals[i].Aggregations[aggregation]
  				val.ValueType = core.ValueFloat
  				vals[i].Aggregations[aggregation] = val
  			}
  		}
  	}
  }
docs: // setAggregationValueTypes inspects a set of aggregation values and figures out whether each aggregation value
  // returned as a float column, or an int column