summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce
diff options
context:
space:
mode:
authorAlexander Smirnov <[email protected]>2025-04-18 00:51:50 +0000
committerAlexander Smirnov <[email protected]>2025-04-18 00:51:50 +0000
commitfcf98cbcba210753db1754ca6e28c295c535ffbb (patch)
tree1b529bd303f9c788e4f398933d7deb47cfd8c3b2 /yt/cpp/mapreduce
parent1f62eb9b72a10d093a2acd13c434a8a94fa695bc (diff)
parent8e5325590b3037c576e7f9981903f5112e181ffe (diff)
Merge branch 'rightlib' into merge-libs-250418-0050
Diffstat (limited to 'yt/cpp/mapreduce')
-rw-r--r--yt/cpp/mapreduce/http_client/raw_requests.cpp4
-rw-r--r--yt/cpp/mapreduce/interface/client_method_options.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/yt/cpp/mapreduce/http_client/raw_requests.cpp b/yt/cpp/mapreduce/http_client/raw_requests.cpp
index 47c0ea204dd..5d19ea1fb9a 100644
--- a/yt/cpp/mapreduce/http_client/raw_requests.cpp
+++ b/yt/cpp/mapreduce/http_client/raw_requests.cpp
@@ -389,9 +389,7 @@ TNode::TListType LookupRows(
fluent.Item("timeout").Value(static_cast<i64>(options.Timeout_->MilliSeconds()));
})
.Item("keep_missing_rows").Value(options.KeepMissingRows_)
- .DoIf(options.Versioned_.Defined(), [&] (TFluentMap fluent) {
- fluent.Item("versioned").Value(*options.Versioned_);
- })
+ .Item("versioned").Value(options.Versioned_)
.DoIf(options.Columns_.Defined(), [&] (TFluentMap fluent) {
fluent.Item("column_names").Value(*options.Columns_);
})
diff --git a/yt/cpp/mapreduce/interface/client_method_options.h b/yt/cpp/mapreduce/interface/client_method_options.h
index 4bb2df112c3..d43020a9e13 100644
--- a/yt/cpp/mapreduce/interface/client_method_options.h
+++ b/yt/cpp/mapreduce/interface/client_method_options.h
@@ -1019,7 +1019,7 @@ struct TLookupRowsOptions
FLUENT_FIELD_DEFAULT(bool, KeepMissingRows, false);
/// If set to true returned values will have "timestamp" attribute.
- FLUENT_FIELD_OPTION(bool, Versioned);
+ FLUENT_FIELD_DEFAULT(bool, Versioned, false);
};
///