diff options
| author | achains <[email protected]> | 2026-01-21 23:52:29 +0300 |
|---|---|---|
| committer | achains <[email protected]> | 2026-01-22 00:12:35 +0300 |
| commit | d77340b18bc0628e79a84ca1992d164d5ded69e3 (patch) | |
| tree | ef8bf141bdeff041dcf62cd98ea939661f70e62f /yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp | |
| parent | 9fc88f3c81bc655ba6035a0adfeb9512fc2f2297 (diff) | |
YT-27155: propagate control attributes to parttion reader
* Changelog entry
Type: fix
Component: proxy
Support ControlAttributes with table partition reader (C\+\+ SDK and driver)
<Message for release notes>
commit_hash:56b1aaa58c4580fda0f9136d40092081eaab2292
Diffstat (limited to 'yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp')
| -rw-r--r-- | yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp b/yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp index bf6b19e4229..15d716f63dd 100644 --- a/yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp +++ b/yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp @@ -722,6 +722,11 @@ TNode SerializeParamsForReadTablePartition(const TString& cookie, const TTablePa TNode node; node["cookie"] = cookie; SerializeSuppressableAccessTrackingOptions(&node, options); + node["control_attributes"] = BuildYsonNodeFluently() + .BeginMap() + .Item("enable_row_index").Value(options.ControlAttributes_.EnableRowIndex_) + .Item("enable_range_index").Value(options.ControlAttributes_.EnableRangeIndex_) + .EndMap(); return node; } |
