private void updateMeasurementToDeviceSelectExpressions(
      Analysis analysis,
      Map<Expression, Map<IDeviceID, Expression>> measurementToDeviceSelectExpressions,
      IDeviceID device,
      List<Expression> selectExpressionsOfOneDevice) {
    for (Expression expression : selectExpressionsOfOneDevice) {
      Expression measurementExpression =
          ExpressionAnalyzer.getMeasurementExpression(expression, analysis);
      measurementToDeviceSelectExpressions
          .computeIfAbsent(measurementExpression, key -> new LinkedHashMap<>())
          .put(device, ExpressionAnalyzer.toLowerCaseExpression(expression));
    }
  }
process select component for align by device.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java