Indhumathi27 commented on code in PR #6013:
URL: https://github.com/apache/hive/pull/6013#discussion_r2273356149


##########
ql/src/test/queries/clientpositive/msck_repair_9.q:
##########
@@ -7,28 +7,31 @@ INSERT INTO tbl_x values(1, 'aaa', 12, 2);
 INSERT INTO tbl_x values(2, 'bbb', 12, 3);
 INSERT INTO tbl_x (id, name, month) values(3, 'ccc', 12);
 
-SET hive.exec.default.partition.name=ANOTHER_PARTITION;
+alter table tbl_x set default partition to 'ANOTHER_PARTITION';
 INSERT INTO tbl_x (id, name, day) values(4, 'ddd', 3);
 
 SHOW PARTITIONS tbl_x;
 
 CREATE EXTERNAL TABLE tbl_y (id INT, name STRING) PARTITIONED BY (month INT, 
day INT) stored as ORC location 
'${system:test.tmp.dir}/apps/hive/warehouse/test.db/tbl_x/';
+alter table tbl_y set default partition to 'ANOTHER_PARTITION';
 
 set hive.msck.path.validation=skip;
 
 MSCK REPAIR TABLE tbl_y;
 
 SHOW PARTITIONS tbl_y;
 
-SET hive.exec.default.partition.name=SECOND_PARTITION;

Review Comment:
   Can you add a test to validate `hive.exec.default.partition.name` is no more 
session configurable



-- 
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: gitbox-unsubscr...@hive.apache.org

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


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

Reply via email to