@Override
  public boolean equals(Object other) {
    if (this == other) {
      return true;
    } else if (other == null || getClass() != other.getClass()) {
      return false;
    }
    return this.name.equals(((TableFormat) other).name);
  }
Get TableFormat by name

@param name name
@return TableFormat
amoro-common/src/main/java/org/apache/amoro/TableFormat.java