Hi Please describe the difference between both in hive with example.
Asked
Active
Viewed 1.7k times
9
-
3did you at least look for it ? https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL – hlagos Aug 09 '18 at 20:01
1 Answers
26
DROP TABLE [IF EXISTS] table_name [PURGE];
If you don't use purge the table goes to a Trash directory, from there the table can be recovered after drop it. But if you do use purge table won't go to Trash directory, so it can't be recovered.
Regards !!

juamd
- 363
- 2
- 5