public static void validateData(List<Record> expected, List<Record> actual) {
    for (int i = 0; i < expected.size(); ++i) {
      assertEquals(expected.get(i), actual.get(i));
    }
  }
Validates whether the 2 sets of records are the same.
@param expected The expected list of Records
@param actual The actual list of Records
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/HiveIcebergTestUtils.java