This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new 561010d4ceb HIVE-28799: Q Test: Incorrect Tag Provided in DROP Query, 
Should Use Existing Tag (#5672). (Kokila N, reviewed by Ayush Saxena)
561010d4ceb is described below

commit 561010d4ceb83f396a6a1b782eef7fe9577d5fe4
Author: kokila-19 <[email protected]>
AuthorDate: Thu Mar 6 20:03:47 2025 +0530

    HIVE-28799: Q Test: Incorrect Tag Provided in DROP Query, Should Use 
Existing Tag (#5672). (Kokila N, reviewed by Ayush Saxena)
---
 .../src/test/queries/positive/alter_table_create_tag.q         |  4 ++--
 .../src/test/results/positive/alter_table_create_tag.q.out     | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/iceberg/iceberg-handler/src/test/queries/positive/alter_table_create_tag.q 
b/iceberg/iceberg-handler/src/test/queries/positive/alter_table_create_tag.q
index 2ef424aeeb1..e474bf46af2 100644
--- a/iceberg/iceberg-handler/src/test/queries/positive/alter_table_create_tag.q
+++ b/iceberg/iceberg-handler/src/test/queries/positive/alter_table_create_tag.q
@@ -31,8 +31,8 @@ explain alter table iceTbl drop tag test_tag_2;
 alter table iceTbl drop tag test_tag_2;
 
 -- drop a tag with if exists
-explain alter table iceTbl drop tag if exists test_tag_3;
-alter table iceTbl drop tag if exists test_tag_3;
+explain alter table iceTbl drop tag if exists test_tag_1;
+alter table iceTbl drop tag if exists test_tag_1;
 
 -- drop a non-exist tag with if exists
 alter table iceTbl drop tag if exists test_tag_4;
diff --git 
a/iceberg/iceberg-handler/src/test/results/positive/alter_table_create_tag.q.out
 
b/iceberg/iceberg-handler/src/test/results/positive/alter_table_create_tag.q.out
index 38a4e3dd45c..c4bc404b5e5 100644
--- 
a/iceberg/iceberg-handler/src/test/results/positive/alter_table_create_tag.q.out
+++ 
b/iceberg/iceberg-handler/src/test/results/positive/alter_table_create_tag.q.out
@@ -156,10 +156,10 @@ PREHOOK: Input: default@icetbl
 POSTHOOK: query: alter table iceTbl drop tag test_tag_2
 POSTHOOK: type: ALTERTABLE_DROPTAG
 POSTHOOK: Input: default@icetbl
-PREHOOK: query: explain alter table iceTbl drop tag if exists test_tag_3
+PREHOOK: query: explain alter table iceTbl drop tag if exists test_tag_1
 PREHOOK: type: ALTERTABLE_DROPTAG
 PREHOOK: Input: default@icetbl
-POSTHOOK: query: explain alter table iceTbl drop tag if exists test_tag_3
+POSTHOOK: query: explain alter table iceTbl drop tag if exists test_tag_1
 POSTHOOK: type: ALTERTABLE_DROPTAG
 POSTHOOK: Input: default@icetbl
 STAGE DEPENDENCIES:
@@ -169,12 +169,12 @@ STAGE PLANS:
   Stage: Stage-0
     SnapshotRef Operation
       table name: default.iceTbl
-      spec: AlterTableSnapshotRefSpec{operationType=DROP_TAG, 
operationParams=DropSnapshotRefSpec{refName=test_tag_3, ifExists=true}}
+      spec: AlterTableSnapshotRefSpec{operationType=DROP_TAG, 
operationParams=DropSnapshotRefSpec{refName=test_tag_1, ifExists=true}}
 
-PREHOOK: query: alter table iceTbl drop tag if exists test_tag_3
+PREHOOK: query: alter table iceTbl drop tag if exists test_tag_1
 PREHOOK: type: ALTERTABLE_DROPTAG
 PREHOOK: Input: default@icetbl
-POSTHOOK: query: alter table iceTbl drop tag if exists test_tag_3
+POSTHOOK: query: alter table iceTbl drop tag if exists test_tag_1
 POSTHOOK: type: ALTERTABLE_DROPTAG
 POSTHOOK: Input: default@icetbl
 PREHOOK: query: alter table iceTbl drop tag if exists test_tag_4

Reply via email to