@Test
  public void testInsertIntoORCFile() throws IOException {
    Assume.assumeTrue("Testing the create table ... stored as ORCFILE syntax is enough for a single scenario.",
        testTableType == TestTables.TestTableType.HIVE_CATALOG && fileFormat == FileFormat.ORC);
    shell.executeStatement("CREATE TABLE t2(c0 DOUBLE , c1 DOUBLE , c2 DECIMAL) STORED BY " +
        "ICEBERG STORED AS ORCFILE");
    shell.executeStatement("INSERT INTO t2(c1, c0) VALUES(0.1803113419993464, 0.9381388537256228)");
    List<Object[]> results = shell.executeStatement("SELECT * FROM t2");
    Assert.assertEquals(1, results.size());
    Assert.assertEquals(0.9381388537256228, results.get(0)[0]);
    Assert.assertEquals(0.1803113419993464, results.get(0)[1]);
    Assert.assertEquals(null, results.get(0)[2]);
  }
Runs insert queries against Iceberg tables. These should cover the various insertion methods of Hive including:
inserting values, inserting from select subqueries, insert overwrite table, etc...
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergInserts.java