default List<TSDataType> getResultDataTypes(List<TreeAggregator> aggregators) {
    List<TSDataType> dataTypes = new ArrayList<>();
    for (TreeAggregator aggregator : aggregators) {
      dataTypes.addAll(Arrays.asList(aggregator.getOutputType()));
    }
    return dataTypes;
  }
According to the Aggregator list, we could obtain all the aggregation result column type list.

@param aggregators the list of aggregators
@return Aggregation result column type list.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/window/IWindowManager.java