In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "what is the difference between Hive internal table and external table". The explanation in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and study and learn "what is the difference between Hive internal table and external table" together.
Internal table data is managed by Hive itself, external table data is managed by HDFS;
The storage location of internal table data is hive.metastore.warehouse.dir (default: /user/hive/warehouse), and the storage location of external table data is determined by yourself;
Deleting internal tables deletes metadata and stored data directly; deleting external tables deletes metadata only, and files on HDFS are not deleted;
Changes to internal tables synchronize the changes directly to metadata, while changes to table structure and partitioning of external tables require repair (MSCK REPAIR TABLE table_name;)
Thank you for your reading. The above is the content of "What is the difference between Hive internal table and external table?" After studying this article, I believe you have a deeper understanding of the difference between Hive internal table and external table. The specific use situation still needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.