summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorh0pless <[email protected]>2023-09-20 15:14:05 +0300
committerh0pless <[email protected]>2023-09-20 15:58:56 +0300
commit66b4baf1d5e65f0dc1b18ff107879ebe5f74008e (patch)
tree6d0f7206f22377724e944762cfcbf7976a93d211
parent6e97fd1f0244b64f91606c3c9323c4e83f11e449 (diff)
YT-17188: Add suppress tracking options to read_table request
-rw-r--r--yt/yt/client/api/rpc_proxy/client_base.cpp1
-rw-r--r--yt/yt/client/api/table_client.h1
-rw-r--r--yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto1
3 files changed, 3 insertions, 0 deletions
diff --git a/yt/yt/client/api/rpc_proxy/client_base.cpp b/yt/yt/client/api/rpc_proxy/client_base.cpp
index b31ce8903f8..7d4b94d7cac 100644
--- a/yt/yt/client/api/rpc_proxy/client_base.cpp
+++ b/yt/yt/client/api/rpc_proxy/client_base.cpp
@@ -723,6 +723,7 @@ TFuture<ITableReaderPtr> TClientBase::CreateTableReader(
}
ToProto(req->mutable_transactional_options(), options);
+ ToProto(req->mutable_suppressable_access_tracking_options(), options);
return NRpcProxy::CreateTableReader(std::move(req));
}
diff --git a/yt/yt/client/api/table_client.h b/yt/yt/client/api/table_client.h
index 4b6b3467c9d..5c47d326dfa 100644
--- a/yt/yt/client/api/table_client.h
+++ b/yt/yt/client/api/table_client.h
@@ -96,6 +96,7 @@ struct TSelectRowsResult
struct TTableReaderOptions
: public TTransactionalOptions
+ , public TSuppressableAccessTrackingOptions
{
bool Unordered = false;
bool OmitInaccessibleColumns = false;
diff --git a/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto b/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto
index af2bc187cda..a9dcc70d294 100644
--- a/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto
+++ b/yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto
@@ -2403,6 +2403,7 @@ message TReqReadTable
optional bytes format = 9; // YSON-serialized TFormat
optional TTransactionalOptions transactional_options = 100;
+ optional TSuppressableAccessTrackingOptions suppressable_access_tracking_options = 101;
}
message TRspReadTableMeta