public static TSDataType getSeriesTypeByPath(TSDataType seriesType, String aggregation) {
    TSDataType dataType = getBuiltinAggregationTypeByFuncName(aggregation);
    if (dataType != null) {
      return dataType;
    } else {
      return seriesType;
    }
  }
If the datatype of 'aggregation' depends on 'measurementDataType' (min_value, max_value),
return 'measurementDataType' directly, or return a list whose elements are all the datatype of
'aggregation' and its length is the same as 'measurementDataType'.

@param measurementDataType raw measurement type
@param aggregation aggregation type
@return measurementDataType directly, or return a list whose elements are all the datatype of
    aggregation and its length is the same as 'measurementDataType'
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/SchemaUtils.java