Stay calm.

This commit is contained in:
Michael Kolupaev 2024-11-09 06:04:31 +00:00
parent 3b206cdd83
commit 4491ce2eea

View File

@ -632,7 +632,7 @@ void StorageMaterializedView::dropTempTable(StorageID table_id, ContextMutablePt
auto query_for_logging = drop_query->formatForLogging(refresh_context->getSettingsRef()[Setting::log_queries_cut_to_length]); auto query_for_logging = drop_query->formatForLogging(refresh_context->getSettingsRef()[Setting::log_queries_cut_to_length]);
logExceptionBeforeStart(query_for_logging, refresh_context, drop_query, nullptr, stopwatch.elapsedMilliseconds()); logExceptionBeforeStart(query_for_logging, refresh_context, drop_query, nullptr, stopwatch.elapsedMilliseconds());
LOG_ERROR(getLogger("StorageMaterializedView"), LOG_ERROR(getLogger("StorageMaterializedView"),
"{}: Failed to drop temporary table after refresh. Table {} is left behind and requires manual cleanup!", "{}: Failed to drop temporary table after refresh. Table {} is left behind and requires manual cleanup.",
getStorageID().getFullTableName(), table_id.getFullTableName()); getStorageID().getFullTableName(), table_id.getFullTableName());
out_exception = getCurrentExceptionMessage(true); out_exception = getCurrentExceptionMessage(true);
} }