public static String getParent(String path) {
    Path p = new Path(path);
    return p.getParent().toString();
  }
get the parent uri path for given path

@param path - path to get parent path
@return the parent path
amoro-format-iceberg/src/main/java/org/apache/amoro/utils/TableFileUtil.java