Skip to content

Conversation

@kpumuk
Copy link
Contributor

@kpumuk kpumuk commented Feb 10, 2026

Currently, Ruby is the only client that throws ProtocolException with UNKNOWN type when validation fails. Additionally, there is an edge case for Union type where validation produces StandardError.

With this change we make sure it is always Thrift::ProtocolException with INVALID_DATA code.

  • Did you create an Apache Jira ticket? (Request account here, not required for trivial changes)
  • If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
  • Did you squash your changes to a single commit? (not required, but preferred)
  • Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
  • If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant