googleapis / googleapis/google-cloud-rust

Normalize `ProtoSchema` descriptor

Open
#6,786 0 comments 0 reactions 1 assignee Claimed by @haphungw View on GitHub
api: bigquery
Dominant language
Rust
Stars
955
Forks
144
Avg merge
1d 5h
Merged PRs (30d)
279

Description

BigQuery Storage Write API requires `proto_descriptor` in `ProtoSchema` to be self-contained with no external unresolved imports.

1. Port Go's `NormalizeDescriptor` (managedwriter/adapt/protoconversion.go:538).
2. Flatten all nested type dependencies into the primary `DescriptorProto`.
3. Strip external file dependencies so the descriptor is accepted by the Storage Write API backend without unresolvable dependency errors.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.