diff options
| author | ermolovd <[email protected]> | 2025-04-02 12:35:54 +0300 |
|---|---|---|
| committer | ermolovd <[email protected]> | 2025-04-02 12:51:10 +0300 |
| commit | 295387ba8adc18227ec4f401265e4e0bfc5e982a (patch) | |
| tree | 0cc2ac7c54ec238030a562c1b09045e5ec25a07c /yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp | |
| parent | 500b1211cebb8d33b9a138a6e5ba245d29001cfc (diff) | |
YT-20969: C++ methods for reading table partitions
* Changelog entry
Type: feature
Component: cpp-mapreduce-sdk
Introduce methods for reading table partition
commit_hash:ab818edd21ccb2a9c5f3d5f010686c3314532192
Diffstat (limited to 'yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp')
| -rw-r--r-- | yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp | 8 |
1 files changed, 8 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 081845be5e8..8487a1de8f2 100644 --- a/yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp +++ b/yt/cpp/mapreduce/http_client/rpc_parameters_serialization.cpp @@ -668,6 +668,13 @@ TNode SerializeParamsForReadTable( return result; } +TNode SerializeParamsForReadTablePartition(const TString& cookie, const TTablePartitionReaderOptions& /*options*/) +{ + TNode node; + node["cookie"] = cookie; + return node; +} + TNode SerializeParamsForReadBlobTable( const TTransactionId& transactionId, const TRichYPath& path, @@ -815,6 +822,7 @@ TNode SerializeParamsForGetTablePartitions( result["max_partition_count"] = *options.MaxPartitionCount_; } result["adjust_data_weight_per_partition"] = options.AdjustDataWeightPerPartition_; + result["enable_cookies"] = options.EnableCookies_; return result; } |
