public static DataFileType parseFileType(String path, String tableType) {
    if (Constants.INNER_TABLE_CHANGE.equals(tableType)) {
      return parseFileTypeForChange(path);
    } else if (Constants.INNER_TABLE_BASE.equals(tableType)) {
      return parseFileTypeForBase(path);
    } else {
      throw new IllegalArgumentException("unknown tableType " + tableType);
    }
  }
Parse file type.

@param path - path
@param tableType - table type, base/change
@return file type
amoro-format-iceberg/src/main/java/org/apache/amoro/data/FileNameRules.java