public static String getTimePrecision(int timeFactor) {
    switch (timeFactor) {
      case 1_000:
        return MILLISECOND;
      case 1_000_000:
        return MICROSECOND;
      case 1_000_000_000:
        return NANOSECOND;
      default:
        throw new IllegalArgumentException("Unknown time factor: " + timeFactor);
    }
  }
Convert from {@link TSStatusCode} to {@link TSStatus}, which has message appended with existing
status message

@param tsStatusCode status type
@param message appending message
iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcUtils.java