diff options
author | Maxim Yurchuk <maxim-yurchuk@ydb.tech> | 2024-10-18 20:31:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-18 20:31:38 +0300 |
commit | 2a74bac2d2d3bccb4e10120f1ead805640ec9dd0 (patch) | |
tree | 047e4818ced5aaf73f58517629e5260b5291f9f0 /yt/yt_proto | |
parent | 2d9656823e9521d8c29ea4c9a1d0eab78391abfc (diff) | |
parent | 3d834a1923bbf9403cd4a448e7f32b670aa4124f (diff) | |
download | ydb-2a74bac2d2d3bccb4e10120f1ead805640ec9dd0.tar.gz |
Merge pull request #10502 from ydb-platform/mergelibs-241016-1210
Library import 241016-1210
Diffstat (limited to 'yt/yt_proto')
-rw-r--r-- | yt/yt_proto/yt/client/api/rpc_proxy/proto/api_service.proto | 53 |
1 files changed, 41 insertions, 12 deletions
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 54321bcc96..9c9e018be9 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 @@ -1445,6 +1445,7 @@ message TIndexInfo required NYT.NProto.TGuid index_table_id = 1; required int32 index_kind = 2; // NTableClient::ESecondaryIndexKind optional string predicate = 3; + optional string unfolded_column = 4; } message TReqGetTableMountInfo @@ -2484,6 +2485,27 @@ message TRspGetJobStderr //////////////////////////////////////////////////////////////////////////////// +message TReqGetJobTrace +{ + oneof operation_id_or_alias { + NYT.NProto.TGuid operation_id = 1; + string operation_alias = 2; + } + optional NYT.NProto.TGuid job_id = 3; + optional NYT.NProto.TGuid trace_id = 4; + optional int64 from_event_index = 5; + optional int64 to_event_index = 6; + optional int64 from_time = 7; + optional int64 to_time = 8; +} + +message TRspGetJobTrace +{ + repeated TJobTraceEvent events = 1; +} + +//////////////////////////////////////////////////////////////////////////////// + message TReqGetJobFailContext { oneof operation_id_or_alias { @@ -3156,6 +3178,16 @@ message TListJobsResult repeated NYT.NProto.TError errors = 6; } +message TJobTraceEvent +{ + required NYT.NProto.TGuid operation_id = 1; + required NYT.NProto.TGuid job_id = 2; + required NYT.NProto.TGuid trace_id = 3; + required int64 event_index = 4; + required string event = 5; + required int64 event_time = 6; // TInstant +} + //////////////////////////////////////////////////////////////////////////////// message TGetFileFromCacheResult @@ -3377,15 +3409,14 @@ message TRspGetQueryTrackerInfo } //////////////////////////////////////////////////////////////////////////////// -// NB(arkady-e1ppa): Under construction. // Distributed table client //////////////////////////////////////////////////////////////////////////////// message TReqStartDistributedWriteSession { - optional string path = 1; - - // TDistributedWriteSessionStartOptions contents... + required string path = 1; + + optional TTransactionalOptions transactional_options = 100; } message TRspStartDistributedWriteSession @@ -3395,29 +3426,27 @@ message TRspStartDistributedWriteSession message TReqFinishDistributedWriteSession { - required bytes session = 2; // YSON-serialized TDistributedWriteSession + required bytes session = 1; // YSON-serialized TDistributedWriteSession - // TDistributedWriteSessionFinishOptions contents... + required int32 max_children_per_attach_request = 2; } message TRspFinishDistributedWriteSession { } -message TReqParticipantWriteTable +message TReqWriteTableFragment { optional bytes config = 1; // YSON-serialized TTableWriterConfig optional bytes format = 2; // YSON-serialized TFormat - required bytes cookie = 3; // YSON-serialized TDistributedWriteCookie - - // TParticipantTableWriterOptions contents... + required bytes cookie = 3; // YSON-serialized TFragmentWriteCookie } -message TRspParticipantWriteTable +message TRspWriteTableFragment { - required bytes cookie = 1; // YSON-serialized TDistributedWriteCookie + required bytes cookie = 1; // YSON-serialized TFragmentWriteCookie } /////////////////////////////////////////////////////////////////////////////// |