public static boolean isOptimizingPosDeleteFile(String dataFilePath, String posDeleteFilePath) {
    return getFileName(posDeleteFilePath)
        .startsWith(
            String.format(
                "%s-%s", getFileNameWithoutExt(dataFilePath), POS_DELETE_FILE_IDENTIFIER));
  }
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