difin commented on code in PR #4855:
URL: https://github.com/apache/hive/pull/4855#discussion_r1387324947
##########
iceberg/iceberg-handler/src/test/queries/positive/iceberg_major_compaction.q:
##########
@@ -0,0 +1,33 @@
+--test against vectorized LLAP execution mode
+-- SORT_QUERY_RESULTS
+-- Mask neededVirtualColumns due to non-strict order
+--! qt:replace:/(\s+neededVirtualColumns:\s)(.*)/$1#Masked#/
+
+-- set hive.llap.io.enabled=true;
+-- set hive.vectorized.execution.enabled=true;
+-- set hive.optimize.shared.work.merge.ts.schema=true;
+
+CREATE TABLE ice_orc (
+ first_name STRING,
+ last_name STRING
+ )
+STORED BY ICEBERG STORED AS ORC
+TBLPROPERTIES ('engine.hive.enabled'='true','format-version'='2');
+
+Insert into ice_orc VALUES ('fn1','ln1');
+Insert into ice_orc VALUES ('fn2','ln2');
+Insert into ice_orc VALUES ('fn3','ln3');
+Insert into ice_orc VALUES ('fn4','ln4');
+Insert into ice_orc VALUES ('fn5','ln5');
+Insert into ice_orc VALUES ('fn6','ln6');
+Insert into ice_orc VALUES ('fn7','ln7');
+
+Update ice_orc set last_name = 'ln1a' where first_name='fn1';
+Update ice_orc set last_name = 'ln2a' where first_name='fn2';
+Update ice_orc set last_name = 'ln3a' where first_name='fn3';
+Update ice_orc set last_name = 'ln4a' where first_name='fn4';
+Update ice_orc set last_name = 'ln5a' where first_name='fn5';
+Update ice_orc set last_name = 'ln6a' where first_name='fn6';
+Update ice_orc set last_name = 'ln7a' where first_name='fn7';
+
+alter table ice_orc COMPACT 'major' and wait;
Review Comment:
done
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]