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

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