Skip to content

fix: Modify BQ connection to use the correct project id for billing.#1715

Merged
sundar-mudupalli-work merged 11 commits intodevelopfrom
issue-1710
Apr 18, 2026
Merged

fix: Modify BQ connection to use the correct project id for billing.#1715
sundar-mudupalli-work merged 11 commits intodevelopfrom
issue-1710

Conversation

@sundar-mudupalli-work
Copy link
Copy Markdown
Collaborator

@sundar-mudupalli-work sundar-mudupalli-work commented Mar 31, 2026

Description of changes

As outlined in issue 1710, DVT forces the billing project resulting in incorrect (or non standard) behavior. This fix modifies the way DVT creates the BQ client, so that it behaves like other client libraries/programs. Additionally

  • Change the name of the parameter being used to --billing-project-id for clarity
  • Deprecated --client-project-id - users who use it will receive a warning and it will be accepted.
  • Updated docs to clarify how to specify the billing project for user and service account calls.
  • Deprecated the use of Service Account Key - users will receive a warning and it will be accepted.

Issues to be closed

Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.

Closes #1710

Checklist

  • [X ] I have followed the CONTRIBUTING Guide.
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated any relevant documentation to reflect my changes, if applicable
  • I have added unit and/or integration tests relevant to my change as needed
  • I have already checked locally that all unit tests and linting are passing (use the tests/local_check.sh script)
  • I have manually executed end-to-end testing (E2E) with the affected databases/engines

@sundar-mudupalli-work
Copy link
Copy Markdown
Collaborator Author

/gcbrun

@sundar-mudupalli-work
Copy link
Copy Markdown
Collaborator Author

/gcbrun

@sundar-mudupalli-work
Copy link
Copy Markdown
Collaborator Author

/gcbrun

@sundar-mudupalli-work
Copy link
Copy Markdown
Collaborator Author

/gcbrun

Comment thread data_validation/cli_tools.py Outdated
Comment thread data_validation/clients.py
Comment thread data_validation/clients.py
Comment thread docs/connections.md Outdated
@sundar-mudupalli-work
Copy link
Copy Markdown
Collaborator Author

/gcbrun

@nj1973
Copy link
Copy Markdown
Collaborator

nj1973 commented Apr 6, 2026

/gcbrun

@nj1973
Copy link
Copy Markdown
Collaborator

nj1973 commented Apr 13, 2026

/gcbrun

Comment thread data_validation/clients.py Outdated
Comment thread data_validation/clients.py
@nj1973
Copy link
Copy Markdown
Collaborator

nj1973 commented Apr 15, 2026

/gcbrun

Copy link
Copy Markdown
Collaborator

@nj1973 nj1973 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I did remove the line I requested you to remove from the storage API client so please review that before clicking merge.

@sundar-mudupalli-work sundar-mudupalli-work merged commit c9ccb0c into develop Apr 18, 2026
6 checks passed
@sundar-mudupalli-work sundar-mudupalli-work deleted the issue-1710 branch April 18, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DVT 's BQ Connection does not use the correct billing project.

2 participants