private static void assertQueryResult(List<Object[]> result, int expectedCount, Object... expectedRows) {
    Assert.assertEquals(expectedCount, result.size());
    int colCount = expectedRows.length / expectedCount;
    for (int i = 0; i < expectedCount; ++i) {
      Object[] rows = new Object[colCount];
      for (int j = 0; j < colCount; ++j) {
        rows[j] = expectedRows[i * colCount + j];
      }
      Assert.assertArrayEquals(rows, result.get(i));
    }
  }
Tests that schema changes of Iceberg backed Hive tables are correctly reflected in subsequent select statements.
Verification is done from both ends:
 - when ALTER TABLE statements were initiated from Hive
 - when schema changes were originally done on the Iceberg table
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergSchemaEvolution.java