diff options
| author | Alexander Smirnov <[email protected]> | 2025-04-18 04:38:27 +0000 |
|---|---|---|
| committer | Alexander Smirnov <[email protected]> | 2025-04-18 04:38:27 +0000 |
| commit | 7ffed5509ed1a1b5633adacf4368ef034e48660e (patch) | |
| tree | 2e742ad254cf199d620fdd75cb984f4115165b3f /yt/cpp/mapreduce | |
| parent | 332dc5ddfae67b6af527d54cd25a1971d8d78147 (diff) | |
| parent | 5d15e3b0913f6b537a7940a584fe1347e8551c93 (diff) | |
Merge pull request #17385 from ydb-platform/merge-libs-250418-0050
Diffstat (limited to 'yt/cpp/mapreduce')
| -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); }; /// |
