MCPcopy Create free account
hub / github.com/apache/impala / ensure_empty_db

Method ensure_empty_db

tests/comparison/db_connection.py:257–259  ·  view source on GitHub ↗
(self, db_name)

Source from the content-addressed store, hash-verified

255 self.execute('DROP DATABASE ' + db_name)
256
257 def ensure_empty_db(self, db_name):
258 self.drop_db_if_exists(db_name)
259 self.create_db(db_name)
260
261 def list_table_names(self):
262 '''Return a list of table names always in lowercase.'''

Callers 2

loadFunction · 0.80
data_generator.pyFile · 0.80

Calls 2

drop_db_if_existsMethod · 0.95
create_dbMethod · 0.95

Tested by

no test coverage detected