Reputation: 133
I have a hive external table which creates partitions on a daily basis dynamically.
In order to free up the memory space, I'm planning to delete some of the files from hdfs.
Will the removal of files from hdfs also removes partitions of the corresponding hive table ? (or) Do we need to explicitly remove the partitions of the hive table?
Upvotes: 0
Views: 53
Reputation: 46
You have to remove the partition separately. I recommend to delete the partition first using hive command and then delete the files.
Upvotes: 2