Description
MetaStoreDirectSql.ensureDbInit has the following 2 calls which we have observed taking a long time in our testing:
initQueries.add(pm.newQuery(MNotificationLog.class, "dbName == ''")); initQueries.add(pm.newQuery(MNotificationNextId.class, "nextEventId < -1"));
In a production environment, these tables should be initialized using schematool, however in a test environment, these calls might be needed.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-19605 TAB_COL_STATS table has no index on db/table name
- Closed