From a2a5a3ce98cd881dd0f1d0d205a353dfa49cbbbb Mon Sep 17 00:00:00 2001 From: hiddenpath Date: Thu, 17 Apr 2025 08:31:22 +0300 Subject: YT-23616: Add RPC implementation of LookupRows, DeleteRows and InsertRows methods commit_hash:c71f62e346bef766379d7b3c3ac2933bb96ac543 --- yt/cpp/mapreduce/http_client/raw_requests.cpp | 4 +--- yt/cpp/mapreduce/interface/client_method_options.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'yt/cpp') 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(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); }; /// -- cgit v1.3