dragon-feng commented on issue #8993:
URL: https://github.com/apache/iceberg/issues/8993#issuecomment-1798333993

   Both version clusters use the same command, The following commands are used:
   Use iceberg_db;
   list jars;
   
   add jar hdfs://mycluster/tmp/ftp/checkpoint/iceberg-hive-runtime-1.4.2.jar;
   add jar hdfs://mycluster/tmp/ftp/checkpoint/libfb303-0.9.3.jar;
   
   set iceberg.engine.hive.enabled=true;
   set hive.vectorized.execution.enabled=false;
   
   create table iceberg_db.test_xu_iceberg_hive_01(
   id int ,
   name string,
   age int)
   partitioned by (dt string)
   stored by 'org.apache.iceberg.mr.hive.HiveIcebergStorageHandler'
   LOCATION 
'hdfs://mycluster/warehouse/tablespace/managed/hive/iceberg_db.db/test_xu_iceberg_hive_01'
   tblproperties ('iceberg.catalog'='location_based_table');
   
   insert into iceberg_db.test_xu_iceberg_hive_01 values 
(777777,'zs',18,'2023-09-05');
   
   select * from iceberg_db.test_xu_iceberg_hive_01;


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to