The main difference between external and managed table in hive his that hive does not manage the external tables. hive only simply "look" at the external tables when you create them. Hive can get data from external table but cannot manage it like it can not delete or change data in that folder. When you drop external table, Hive only delete the metadata from its metastore and data in HDFS remains unchanged.
↧