hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Huang Meilong <ims...@outlook.com>
Subject Difference between MANAGED_TABLE and EXTERNAL_TABLE in org.apache.hadoop.hive.metastore.TableType
Date Thu, 01 Dec 2016 14:15:36 GMT
Hi all,


I found an enum TableType in package org.apache.hadoop.hive.metastore. What's the difference
between MANAGED_TABLE and EXTERNAL_TABLE?


Will the table be an EXTERNAL TABLE with setting table type EXTERNAL_TABLE when creating table?


I found the code to determine whether a table is an external table in MetaStoreUtils.java

https://github.com/apache/hive/blob/master/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java#L1425


I'm confused what is EXTERNAL_TABLE in TableType for?



Mime
View raw message