@Test
  public void testCTLT() throws TException, InterruptedException {
    Assume.assumeTrue(" CTLT target table must be a HiveCatalog table",
        testTableType == TestTables.TestTableType.HIVE_CATALOG);
    // Create a normal table and add some data
    shell.executeStatement("CREATE TABLE source(a int)");
    shell.executeStatement("insert into source values(1)");

    // Run a CTLT query.
    shell.executeStatement(String.format("CREATE TABLE dest LIKE source STORED BY ICEBERG %s %s",
        testTables.locationForCreateTableSQL(TableIdentifier.of("default", "dest")),
        testTables.propertiesForCreateTableSQL(ImmutableMap.of())));

    // Try a select query and check if the table is empty .
    String result = shell.executeAndStringify("select a from " + TableIdentifier.of("default", "dest").name());
    Assert.assertTrue(result.isEmpty());

    // Validate the properties of the table.
    org.apache.hadoop.hive.metastore.api.Table hmsTable = shell.metastore().getTable("default", "dest");
    StorageDescriptor sd = hmsTable.getSd();
    Assert.assertEquals("org.apache.iceberg.mr.hive.HiveIcebergSerDe", sd.getSerdeInfo().getSerializationLib());
    Assert.assertEquals("org.apache.iceberg.mr.hive.HiveIcebergInputFormat", sd.getInputFormat());
    Assert.assertEquals("org.apache.iceberg.mr.hive.HiveIcebergOutputFormat", sd.getOutputFormat());
    Assert.assertEquals("org.apache.iceberg.mr.hive.HiveIcebergStorageHandler",
        hmsTable.getParameters().get("storage_handler"));
    Assert.assertEquals("ICEBERG", hmsTable.getParameters().get("table_type"));
  }
Checks that HiveIcebergMetaHook doesn't run into failures with undefined alter operation type (e.g. stat updates)
@throws Exception - any test failure
iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergStorageHandlerNoScan.java