diqiu50 commented on code in PR #8258:
URL: https://github.com/apache/gravitino/pull/8258#discussion_r2318357356


##########
integration-test-common/docker-script/init/hive/init.sql:
##########
@@ -0,0 +1,30 @@
+CREATE DATABASE gt_hive_test_acid;
+SET hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
+SET hive.support.concurrency=true;
+CREATE TABLE gt_hive_test_acid.test_update
+(
+    id INT,
+    name STRING,
+    salary INT
+)
+CLUSTERED BY (id) INTO 4 BUCKETS
+STORED AS ORC
+TBLPROPERTIES ('transactional'='true');
+CREATE TABLE gt_hive_test_acid.test_delete
+(
+    id INT,
+    name STRING,
+    salary INT
+)
+CLUSTERED BY (id) INTO 4 BUCKETS
+STORED AS ORC
+TBLPROPERTIES ('transactional'='true');
+CREATE TABLE gt_hive_test_acid.test_merge
+(
+    id INT,
+    name STRING,
+    salary INT
+)
+CLUSTERED BY (id) INTO 4 BUCKETS
+STORED AS ORC
+TBLPROPERTIES ('transactional'='true');

Review Comment:
   Why is the table created here instead of within the test script?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to