misc: Migrate cpp.ref_type and drift.recursive_reference in presto thrift#27248
Merged
aditi-pandit merged 1 commit intoprestodb:masterfrom Mar 5, 2026
Merged
misc: Migrate cpp.ref_type and drift.recursive_reference in presto thrift#27248aditi-pandit merged 1 commit intoprestodb:masterfrom
aditi-pandit merged 1 commit intoprestodb:masterfrom
Conversation
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideMigrates unstructured cpp.ref_type and drift.recursive_reference annotations on ExecutionFailureInfo.cause to their structured equivalents in both presto_thrift.thrift and temp_presto_thrift.thrift, adding the necessary annotation includes. Class diagram for updated ExecutionFailureInfo.thrift structclassDiagram
direction TB
class ExecutionFailureInfo_Unstructured {
+string type
+string message
+optional ExecutionFailureInfo cause
+list~ExecutionFailureInfo~ suppressed
+list~string~ stack
+ErrorLocation errorLocation
<<annotations>>
cause: cpp.ref_type = shared
cause: drift.recursive_reference = true
}
class ExecutionFailureInfo_Structured {
+string type
+string message
+optional ExecutionFailureInfo cause
+list~ExecutionFailureInfo~ suppressed
+list~string~ stack
+ErrorLocation errorLocation
<<annotations>>
cause: @cpp.Ref(type = cpp.RefType.SharedMutable)
cause: @thrift.DeprecatedUnvalidatedAnnotations(items = "drift.recursive_reference=true")
}
ExecutionFailureInfo_Unstructured <|-- ExecutionFailureInfo_Structured
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
|
iahs
added a commit
to iahs/presto
that referenced
this pull request
Mar 3, 2026
… thrift (prestodb#27248) Summary: Migrate cpp.ref_type and drift.recursive_reference unstructured annotations to their structured equivalents in presto thrift files: - presto_thrift.thrift - temp_presto_thrift.thrift Reviewed By: Mizuchi Differential Revision: D94726708
Contributor
|
When you have time, please sign the Presto CLA as mentioned in this comment. |
Contributor
Author
|
CLA signed |
…presto thrift (prestodb#27248) Summary: Migrate cpp.ref_type and drift.recursive_reference unstructured annotations to their structured equivalents in presto thrift files: - presto_thrift.thrift - temp_presto_thrift.thrift Reviewed By: Mizuchi Differential Revision: D94726708
garimauttam
pushed a commit
to garimauttam/presto
that referenced
this pull request
Mar 9, 2026
…rift (prestodb#27248) Summary: Migrate cpp.ref_type and drift.recursive_reference unstructured annotations to their structured equivalents in presto thrift files: - presto_thrift.thrift - temp_presto_thrift.thrift Reviewed By: Mizuchi ``` == NO RELEASE NOTE == ```
This was referenced Mar 31, 2026
15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Migrate cpp.ref_type and drift.recursive_reference unstructured annotations
to their structured equivalents in presto thrift files:
Reviewed By: Mizuchi
Summary by Sourcery
Migrate presto thrift definitions to use structured annotations for ExecutionFailureInfo references.
Enhancements: