This commit is contained in:
Igor Nikonov 2024-10-29 10:02:24 +00:00
parent 3607493881
commit e2c2e67c7b

View File

@ -423,7 +423,10 @@ const TableNode * findTableForParallelReplicas(const QueryTreeNodePtr & query_tr
return nullptr;
const auto * res = findTableForParallelReplicas(query_tree_node.get());
LOG_DEBUG(getLogger(__PRETTY_FUNCTION__), "Table found {}", res->getStorageID().getFullTableName());
if (res)
LOG_DEBUG(getLogger(__PRETTY_FUNCTION__), "Table found {}", res->getStorageID().getFullTableName());
else
LOG_DEBUG(getLogger(__PRETTY_FUNCTION__), "Not table found");
return res;
}