File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
yt/yql/providers/yt/fmr/request_options Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ TFmrTableRef FmrTableRefFromProto(const NProto::TFmrTableRef protoFmrTableRef) {
64
64
65
65
NProto::TTableRef TableRefToProto (const TTableRef& tableRef) {
66
66
NProto::TTableRef protoTableRef;
67
- if (auto * ytTableRefPtr = std::get_if<TYtTableRef>(&tableRef. TableRef )) {
67
+ if (auto * ytTableRefPtr = std::get_if<TYtTableRef>(&tableRef)) {
68
68
NProto::TYtTableRef protoYtTableRef = YtTableRefToProto (*ytTableRefPtr);
69
69
protoTableRef.MutableYtTableRef ()->Swap (&protoYtTableRef);
70
70
} else {
71
- auto * fmrTableRefPtr = std::get_if<TFmrTableRef>(&tableRef. TableRef );
71
+ auto * fmrTableRefPtr = std::get_if<TFmrTableRef>(&tableRef);
72
72
NProto::TFmrTableRef protoFmrTableRef = FmrTableRefToProto (*fmrTableRefPtr);
73
73
protoTableRef.MutableFmrTableRef ()->Swap (&protoFmrTableRef);
74
74
}
Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ struct TFmrError {
46
46
TMaybe<TString> OperationId;
47
47
};
48
48
49
+ struct TError {
50
+ TString ErrorMessage;
51
+ };
52
+
49
53
struct TStatistics {
50
54
};
51
55
@@ -59,9 +63,7 @@ struct TFmrTableRef {
59
63
TString TableId;
60
64
};
61
65
62
- struct TTableRef {
63
- std::variant<TYtTableRef, TFmrTableRef> TableRef;
64
- };
66
+ using TTableRef = std::variant<TYtTableRef, TFmrTableRef>;
65
67
66
68
struct TUploadTaskParams {
67
69
TFmrTableRef Input;
You can’t perform that action at this time.
0 commit comments