diff options
author | Sergey Uzhakov <uzhastik@gmail.com> | 2022-04-12 14:09:15 +0300 |
---|---|---|
committer | Sergey Uzhakov <uzhastik@gmail.com> | 2022-04-12 14:09:15 +0300 |
commit | f7c659130a200c6248e509e4f99b4b8cba0c5b37 (patch) | |
tree | e71efe08103b49cba3fcd823062c121225306ac0 | |
parent | f06038936c0e061d424e8a6f6f4fa015c9930e56 (diff) | |
download | ydb-f7c659130a200c6248e509e4f99b4b8cba0c5b37.tar.gz |
pick up S3 provider limits in run actor
ref:01c9633dd091c3024f538ce5755c007e49ffc1d5
-rw-r--r-- | ydb/core/yq/libs/actors/run_actor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ydb/core/yq/libs/actors/run_actor.cpp b/ydb/core/yq/libs/actors/run_actor.cpp index be116de0ae..064b86a7d5 100644 --- a/ydb/core/yq/libs/actors/run_actor.cpp +++ b/ydb/core/yq/libs/actors/run_actor.cpp @@ -1070,6 +1070,10 @@ private: LOG_D("Compiling query ..."); NYql::TGatewaysConfig gatewaysConfig; SetupDqSettings(*gatewaysConfig.MutableDq()->MutableDefaultSettings()); + // the main idea of having Params.GatewaysConfig is to copy clusters only + // but in this case we have to copy S3 provider limits + *gatewaysConfig.MutableS3() = Params.GatewaysConfig.GetS3(); + gatewaysConfig.MutableS3()->ClearClusterMapping(); THashMap<TString, TString> clusters; |