public static TSStatus getStatus(TSStatusCode tsStatusCode) {
    return new TSStatus(tsStatusCode.getStatusCode());
  }
Convert from {@link TSStatusCode} to {@link TSStatus} according to status code and status
message
iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcUtils.java