private static boolean hasOrcTimeInSchema(Properties tableProps, Schema tableSchema) {
    if (!FileFormat.ORC.name().equalsIgnoreCase(tableProps.getProperty(TableProperties.DEFAULT_FILE_FORMAT))) {
      return false;
    }
    return tableSchema.columns().stream().anyMatch(f -> Types.TimeType.get().typeId() == f.type().typeId());
  }
Iceberg Time type columns are written as longs into ORC files. There is no Time type in Hive, so it is represented
as String instead. For ORC there's no automatic conversion from long to string during vectorized reading such as
for example in Parquet (in Parquet files Time type is an int64 with 'time' logical annotation).
@param tableProps iceberg table properties
@param tableSchema iceberg table schema
@return true if having time type column
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java