@Override
  public int hashCode() {
    return (this.getHiveTableMD() == null)
        ? super.hashCode() : this.getHiveTableMD().hashCode();
  }
Note: DOES NOT CHECK txn stats.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/RelOptHiveTable.java