summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface/config.cpp
diff options
context:
space:
mode:
authorMaxim Akhmedov <[email protected]>2024-09-02 10:59:52 +0300
committerrobot-piglet <[email protected]>2024-09-02 11:12:07 +0300
commit07991279b3ddf89ef2a7baec78a8ad93e5bc7fbb (patch)
treebe11844a2eeed4961f6a7ef7f02dd0c37e8d525c /yt/cpp/mapreduce/interface/config.cpp
parentf729a6b7b76181ee857bdb632d3a4661df9ade9e (diff)
Support YT_KEEP_TEMP_TABLES environment variable in C++ SDK
No description --- c5f81efe57e11992b55a5cbbf3dfff08b790c28c Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/813
Diffstat (limited to 'yt/cpp/mapreduce/interface/config.cpp')
-rw-r--r--yt/cpp/mapreduce/interface/config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/config.cpp b/yt/cpp/mapreduce/interface/config.cpp
index 1ee5a77af7f..879bf795614 100644
--- a/yt/cpp/mapreduce/interface/config.cpp
+++ b/yt/cpp/mapreduce/interface/config.cpp
@@ -225,6 +225,7 @@ void TConfig::Reset()
"//tmp/yt_wrapper/table_storage");
RemoteTempTablesDirectory = GetEnv("YT_TEMP_DIR",
RemoteTempTablesDirectory);
+ KeepTempTables = GetBool("YT_KEEP_TEMP_TABLES");
InferTableSchema = false;