Hive “INSERT OVERWRITE” Does Not Remove Existing Data
When Hive tries to “INSERT OVERWRITE” to a partition of an external table under existing directory, depending on whether the partition definition already exists in the metastore or not, Hive will behave differently: 1) if partition definition does not exist, it will not try to guess where the target partition …