Skip to content

Commit

Permalink
[BugFix] allow partition ttl for statistics database (backport #54398) (
Browse files Browse the repository at this point in the history
#54413)

Co-authored-by: Murphy <[email protected]>
  • Loading branch information
mergify[bot] and murphyatwork authored Dec 26, 2024
1 parent 2904e54 commit 477a260
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -687,10 +687,7 @@ private void findSchedulableTables() {
long start = System.currentTimeMillis();
for (Long dbId : GlobalStateMgr.getCurrentState().getLocalMetastore().getDbIds()) {
Database db = GlobalStateMgr.getCurrentState().getDb(dbId);
if (db == null) {
continue;
}
if (db.isSystemDatabase() || db.isStatisticsDatabase()) {
if (db == null || db.isSystemDatabase()) {
continue;
}

Expand Down

0 comments on commit 477a260

Please sign in to comment.