Skip to content

Commit

Permalink
keep log
Browse files Browse the repository at this point in the history
Signed-off-by: Murphy <[email protected]>
  • Loading branch information
murphyatwork committed May 18, 2023
1 parent 8cb7116 commit 6406c68
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3254,6 +3254,8 @@ private void disableMaterializedViewForRenameTable(Database db, OlapTable olapTa
for (MvId mvId : olapTable.getRelatedMaterializedViews()) {
MaterializedView mv = (MaterializedView) db.getTable(mvId.getId());
if (mv != null) {
LOG.warn("Setting the materialized view {}({}) to invalid because " +
"the table {} was renamed.", mv.getName(), mv.getId(), olapTable.getName());
mv.setInactiveAndReason("base table renamed: " + olapTable.getName());
} else {
LOG.warn("Ignore materialized view {} does not exists", mvId);
Expand Down

0 comments on commit 6406c68

Please sign in to comment.