**Describe the issue**
We have to set macro or to pass explicitly shard and replica name to create table in DatabaseReplicated

{
        databases[database_name]->beforeLoadingMetadata(global_context, force_restore, force_attach);
        databases[database_name]->loadTablesMetadata(global_context, metadata);
    }
    LOG_INFO(log, "Parsed metadata of {} tables in {} databases in {} sec",
             metadata.parsed_tables.size(), databases_to_load.size(), stopwatch.elapsedSeconds());
    stopwatch.restart();
    logDependencyGraph();
    
    removeUnresolvableDependencies( false);
    
    DatabaseCatalog::instance().addLoadingDependencies(metadata.dependencies_info);
    
    removeUnresolvableDependencies( true);
    loadTablesInTopologicalOrder(pool);
}
void TablesLoader::startupTables()
{
    
    for (auto & database : databases)
        database.second->startupTables(pool, force_restore, force_attach);
}
void TablesLoader::removeUnresolvableDependencies(bool remove_loaded)
{
    auto need_exclude_dependency = [this, remove_loaded](const QualifiedTableName & dependency_name, const DependenciesInfo & info)
    {
        
        if (metadata.parsed_tables.contains(dependency_name))
            return false;