Support Questions

Find answers, ask questions, and share your expertise

Problem renaming Hive partitioned table and then dropping

avatar
Explorer

I renamed a Hive partitioned table DB1.Tab1 to DB1.Tab1_old and then moved another table with the same name but from another database DB2.Tab1 to the first database DB1.Tab1, using the same rename command. It looks like the partitioned directories were merged because when I deleted the first renamed one (DB1.Tab1_old), the moved table partitions (DB1.Tab1) were deleted. I would like to understand why this happened. Regards

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Hello @Patriciabqc 

It seems this was fixed in CDP-7.1.8 according to the TSB, please see the Knowledge base link below.

https://my.cloudera.com/knowledge/TSB-2022-600-Renaming-translated-external-partition-table?id=35390...

 

View solution in original post

11 REPLIES 11

avatar
Expert Contributor

Hello @Patriciabqc 

It seems this was fixed in CDP-7.1.8 according to the TSB, please see the Knowledge base link below.

https://my.cloudera.com/knowledge/TSB-2022-600-Renaming-translated-external-partition-table?id=35390...

 

avatar
Explorer

Ok @MGreen , thanks for your help!