public static GetDataPartitionPlan convertFromRpcTDataPartitionReq(final TDataPartitionReq req) {
    return new GetDataPartitionPlan(new ConcurrentHashMap<>(req.getPartitionSlotsMap()));
  }
Convert TDataPartitionReq to GetDataPartitionPlan.

@param req TDataPartitionReq
@return GetDataPartitionPlan
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/read/partition/GetDataPartitionPlan.java