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

Add ability to set dataset project id #201

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 27, 2024

  1. Add ability to set dataset project id

    This CL adds the ability to specify a dataset project id as part of
    the dataset field in the connection string used to create a
    BQConnection instance. Previously, we used the project defined in the
    URL's path component for both the billing and default dataset
    projects. Recall that the default project and dataset are used to
    disambiguate unqualified table names referenced in a query being
    processed by a connection.
    
    Now, we parse the potentially fully qualified dataset to check for a
    project id. If no project id is found, we revert back to our former
    behavior, using the billing project as the default dataset project.
    mmotoyama committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    0762d72 View commit details
    Browse the repository at this point in the history