diff options
| author | hiddenpath <[email protected]> | 2025-04-17 08:31:22 +0300 |
|---|---|---|
| committer | hiddenpath <[email protected]> | 2025-04-17 08:43:27 +0300 |
| commit | a2a5a3ce98cd881dd0f1d0d205a353dfa49cbbbb (patch) | |
| tree | 121d78d049dde39147d81f9b3e66e3d7fabe38f1 /yt/cpp | |
| parent | 9b44be1dd627cdc45103e07c3186eda2a400d8dd (diff) | |
YT-23616: Add RPC implementation of LookupRows, DeleteRows and InsertRows methods
commit_hash:c71f62e346bef766379d7b3c3ac2933bb96ac543
Diffstat (limited to 'yt/cpp')
| -rw-r--r-- | yt/cpp/mapreduce/http_client/raw_requests.cpp | 4 | ||||
| -rw-r--r-- | yt/cpp/mapreduce/interface/client_method_options.h | 2 |
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); }; /// |
