Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.3.3, 3.0.0
-
None
-
None
Description
HiveMetastoreClient has dropDatabase() method which does this:
if (cascade) { List<String> tableList = getAllTables(name); for (String table : tableList) { try { // Subclasses can override this step (for example, for temporary tables) dropTable(name, table, deleteData, true); } catch (UnsupportedOperationException e) { // Ignore Index tables, those will be dropped with parent tables } } }
This isn't needed since the similar thing is done on the server side and just wastes time in sending multiple server calls.
Attachments
Issue Links
- duplicates
-
HIVE-18705 Improve HiveMetaStoreClient.dropDatabase
- Closed