Skip to content

Commit

Permalink
Always assume default YT cluster will be used in YQL query (ydb-platf…
Browse files Browse the repository at this point in the history
  • Loading branch information
Krock21 authored Mar 28, 2024
1 parent 1357ce5 commit 352a4bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ydb/library/yql/yt/native/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,12 @@ class TYqlPlugin
};
}

if (DefaultCluster_ && !usedClusters->contains(*DefaultCluster_)) {
usedClusters->insert(*DefaultCluster_);
}

std::vector<TString> clustersList(usedClusters->begin(), usedClusters->end());

return TClustersResult{
.Clusters = clustersList,
};
Expand Down

0 comments on commit 352a4bf

Please sign in to comment.