[editor] Impala is casesensitive when listing tables of a database
@@ -177,6 +177,8 @@ class HiveServer2Dbms(object):
def get_tables_meta(self, database='default', table_names='*', table_types=None):
+ database = database.lower() # Impala is case sensitive
+
if self.server_name == 'beeswax':
identifier = self.to_matching_wildcard(table_names)
else:
@@ -188,6 +190,8 @@ class HiveServer2Dbms(object):
def get_tables(self, database='default', table_names='*', table_types=None):
+ database = database.lower() # Impala is case sensitive
+
if self.server_name == 'beeswax':
identifier = self.to_matching_wildcard(table_names)
else:
