Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bigquery/storage/managedwriter): support non-default regions #4566

Merged
merged 2 commits into from Aug 9, 2021

Commits on Aug 6, 2021

  1. fix(bigquery/storage/managedwriter): support non-default regions

    Additional internal context: b/185842996
    
    Request routing relies on a metadata header being present, but because of the bidi nature
    library generators don't automatically attach the write stream metadata
    into x-goog-request-headers.
    
    For this API, the stream ID is constant for the whole stream so we
    inject it when opening the stream, which is when routing needs the
    information.
    
    This causes some minor changes to how we do stream (re)open because
    we need to pass in the stream ID as part of the function.  This change
    also updates integration testing so that we're testing in an explicit,
    non-default region (us-east1).
    shollyman committed Aug 6, 2021
    Copy the full SHA
    3a9d68c View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. Copy the full SHA
    83f3bd0 View commit details
    Browse the repository at this point in the history