private static void analyzeDeviceToExpressions(Analysis analysis) {
    analysis.setDeviceToSourceTransformExpressions(analysis.getDeviceToSelectExpressions());

    analysis.setDeviceToSourceExpressions(analysis.getDeviceToSelectExpressions());
    analysis.setDeviceToOutputExpressions(analysis.getDeviceToSelectExpressions());

    analysis.setDeviceToAggregationExpressions(analysis.getDeviceToSelectExpressions());
  }
Methods in this class are used for aggregation, templated with align by device situation.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/TemplatedAggregationAnalyze.java