Browse Source

HUE-6066 [metastore] Add EXTERNAL_TABLE to the list of DEFAULT_TABLE_TYPES in hive_server2_lib so Hue will show external tables in database meta info. (#496)

https://github.com/cloudera/hue/pull/496
Rick Bernotas 8 năm trước cách đây
mục cha
commit
63f4d8ad1a

+ 1 - 0
apps/beeswax/src/beeswax/server/hive_server2_lib.py

@@ -476,6 +476,7 @@ class HiveServerClient:
   DEFAULT_TABLE_TYPES = [
   DEFAULT_TABLE_TYPES = [
     'TABLE',
     'TABLE',
     'VIEW',
     'VIEW',
+    'EXTERNAL_TABLE',
   ]
   ]
 
 
   def __init__(self, query_server, user):
   def __init__(self, query_server, user):