public static boolean recordsEqual(HCatRecord first, HCatRecord second,
                                     StringBuilder debugDetail) {
    return (compareRecords(first, second, debugDetail) == 0);
  }
Helper class for Other Data Testers
hcatalog/core/src/test/java/org/apache/hive/hcatalog/data/HCatDataCheckUtil.java