aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorv-a-zolotov <v-a-zolotov@yandex-team.com>2024-11-28 10:42:20 +0300
committerv-a-zolotov <v-a-zolotov@yandex-team.com>2024-11-28 10:52:03 +0300
commit7b2abf2f5254556fa36060d0f6ca9e077def3b35 (patch)
tree27eb1727b323592abede39da2248f66db705328a
parent538bb854fef7775048d22a4623a848e6bc219011 (diff)
downloadydb-7b2abf2f5254556fa36060d0f6ca9e077def3b35.tar.gz
YT-23568: Skip checking table existence if table is located on different cluster
commit_hash:b5a8081be739437ebced2083440e22295ce64255
-rw-r--r--yt/cpp/mapreduce/client/operation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/client/operation.cpp b/yt/cpp/mapreduce/client/operation.cpp
index dea1275b5a..3d60ddc6ff 100644
--- a/yt/cpp/mapreduce/client/operation.cpp
+++ b/yt/cpp/mapreduce/client/operation.cpp
@@ -1003,6 +1003,7 @@ void CheckInputTablesExist(
for (auto& path : paths) {
auto curTransactionId = path.TransactionId_.GetOrElse(preparer.GetTransactionId());
Y_ENSURE_EX(
+ path.Cluster_.Defined() ||
Exists(
preparer.GetClientRetryPolicy()->CreatePolicyForGenericRequest(),
preparer.GetContext(),