Skip to content

[SPARK-52428] Extract structured error info from gRPC status metadata#35

Open
rafafrdz wants to merge 1 commit intoapache:masterfrom
rafafrdz:improve-grpc-error-info
Open

[SPARK-52428] Extract structured error info from gRPC status metadata#35
rafafrdz wants to merge 1 commit intoapache:masterfrom
rafafrdz:improve-grpc-error-info

Conversation

@rafafrdz
Copy link
Copy Markdown

Summary

  • Improve From<tonic::Status> for SparkError to extract metadata key-value pairs from gRPC responses
  • Append ASCII and binary metadata entries to error messages (preserves Spark error class, SQLSTATE, stack traces)
  • Append status.source() cause when available
  • All 17 existing error code mappings preserved

Test plan

  • cargo build passes
  • cargo fmt -- --check passes

@rafafrdz rafafrdz force-pushed the improve-grpc-error-info branch from 9d025d9 to 8829cbd Compare March 29, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant