Computer Science, asked by bala383, 1 year ago

what is the difference between external table and managed table in hive

Answers

Answered by vvlvip
3
There are two types of tables in Hive, one is internal and second is external. The difference is, when you drop atable, if it's internal one, hive deletes both data and Metadat and it itsexternal hive deletes only Metadata. To create the external table, it isrequired to use external keyword.
Answered by aditishrivastav1
0
Hive may have internal or external tables, this is a choice that affects how data is loaded, controlled, and managed. Use EXTERNAL tables when: The data is also used outside of Hive. For example, the data files are read and processed by an existing program that doesn't lock the files.

aditishrivastav1: sorry who told you that .....
aditishrivastav1: I don't talk with him ..
Charudoll: Archit ne bola mujhe
aditishrivastav1: sorry BT maine aaisa kuch nhii bola ..
aditishrivastav1: kya tum mujhe uska no De sakti hooo
Charudoll: Yr vo mujh se ladega
aditishrivastav1: okkk
aditishrivastav1: BT maine kuch nhi bolla
Charudoll: Ok
aditishrivastav1: hmmm ...
Similar questions