File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed
presto-native-execution/presto_cpp/main/thrift Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 1414
1515namespace cpp2 facebook.presto.thrift
1616
17+ include " thrift/annotation/cpp.thrift"
18+
19+ include " thrift/annotation/thrift.thrift"
20+
1721enum TaskState {
1822 PLANNED = 0 ,
1923 RUNNING = 1 ,
@@ -579,10 +583,11 @@ struct UpdateHandle {
579583struct ExecutionFailureInfo {
580584 1: string type ;
581585 2: string message ;
582- 3: optional ExecutionFailureInfo cause (
583- cpp.ref_type = " shared" ,
584- drift.recursive_reference = true ,
585- );
586+ @cpp.Ref {type = cpp.RefType.SharedMutable }
587+ @thrift.DeprecatedUnvalidatedAnnotations {
588+ items = {" drift.recursive_reference" : " 1" },
589+ }
590+ 3: optional ExecutionFailureInfo cause;
586591 4: list<ExecutionFailureInfo> suppressed;
587592 5: list<string> stack;
588593 6: ErrorLocation errorLocation;
Original file line number Diff line number Diff line change 1414
1515namespace cpp2 facebook.presto.thrift
1616
17+ include " thrift/annotation/cpp.thrift"
18+
19+ include " thrift/annotation/thrift.thrift"
20+
1721enum TaskState {
1822 PLANNED = 0 ,
1923 RUNNING = 1 ,
@@ -579,10 +583,11 @@ struct UpdateHandle {
579583struct ExecutionFailureInfo {
580584 1: string type ;
581585 2: string message ;
582- 3: optional ExecutionFailureInfo cause (
583- cpp.ref_type = " shared" ,
584- drift.recursive_reference = true ,
585- );
586+ @cpp.Ref {type = cpp.RefType.SharedMutable }
587+ @thrift.DeprecatedUnvalidatedAnnotations {
588+ items = {" drift.recursive_reference" : " 1" },
589+ }
590+ 3: optional ExecutionFailureInfo cause;
586591 4: list<ExecutionFailureInfo> suppressed;
587592 5: list<string> stack;
588593 6: ErrorLocation errorLocation;
You can’t perform that action at this time.
0 commit comments