Jan 12, 2020 in Big Data | Hadoop
Q: What is the use of PURGE in DROP statement of Hive?

1 Answer

0 votes
Jan 12, 2020

We use PURGE option when we are absolutely sure to delete the data of a table. With DROP TABLE tableName PURGE statement, table data will not go to trash folder. So it cannot be retrieved in case of an accidental DROP statement.

Related questions

0 votes
Sep 7, 2019 in Big Data | Hadoop
0 votes
Jan 12, 2020 in Big Data | Hadoop
...