Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
ghx-label-8
Description
Setting default_transactional_type prevents the creation of Iceberg tables:
SET default_transactional_type=insert_only; create table ice_hadoop_tables (i int) stored as iceberg location '/test-warehouse/ice_hive_cat/' tblproperties('iceberg.catalog'='hadoop.tables');
ERROR: ImpalaRuntimeException: Error making 'createTable' RPC to Hive Metastore: CAUSED BY: MetaException: A managed table's location should be located within managed warehouse root directory or within its database's managedLocationUri. Table ice_hadoop_tables_def_trans's location is not valid:hdfs://localhost:20500/test-warehouse/ice_hive_cat, managed warehouse:hdfs://localhost:20500/test-warehouse/managed
We shouldn't set the transactional table properties for Iceberg tables.