Uh oh!
There was an error while loading. Please reload this page.
fix: allow multi-part dataset IDs to support BigLake tables - #17137
Conversation
Relaxes DatasetReference.from_string and TableReference.from_string validation.
There was a problem hiding this comment.
Code Review
This pull request introduces a new internal module _string_references.py to centralize the parsing of dataset and table ID strings into REST resource representations, refactoring DatasetReference.from_string and TableReference.from_string to use these shared utilities. Feedback focuses on ensuring Python version compatibility for type unions, correcting PEP 8 indentation violations, programmatically sorting returned dictionaries per repository rules, and refining the logic for multi-part dataset IDs.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Relaxes DatasetReference.from_string and TableReference.from_string validation. Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/google-cloud-python/issues) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes b/512823729 🦕
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.19.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:234b9d1f2ddb057ed7ac6a38db0bf8163d839c65c6cf88ade52530cddebce59e <details><summary>google-cloud-bigquery: v3.42.0</summary> ## [v3.42.0](google-cloud-bigquery-v3.41.0...google-cloud-bigquery-v3.42.0) (2026-06-12) ### Features * drop Python 3.7-3.9 support and regenerate (#17187) ([494abcd](494abcdf)) ### Bug Fixes * include pyopenssl as a dependency (#17345) ([1281790](12817900)) * bump requests from 2.21.0 to 2.33.0 in /packages/google-cloud-bigquery (#17192) ([5283c92](5283c926)) * bump tqdm from 4.23.4 to 4.66.3 in /packages/google-cloud-bigquery (#17194) ([8cda5fe](8cda5fe1)) * bump opentelemetry-instrumentation from 0.37b0 to 0.41b0 in /packages/google-cloud-bigquery (#17195) ([f530a2c](f530a2c6)) * allow multi-part dataset IDs to support BigLake tables (#17137) ([f93911c](f93911c0)) ### Documentation * clarify Quickstart POST example (<a href="https://redirect.github.com/psf/requests/issues/6960">#6960</a>)</li> <li>Additional commits viewable in <a href="psf/requests@v2.21.0...v2.33.0">compare view</a></li> </ul> </details> <br /> ([5283c92](5283c926)) * fix FAQ grammar in httplib2 example</li> <li><a href="psf/requests@774a0b837a194ee885d4fdd9ca947900cc3daf71"><code>774a0b8</code></a> ([5283c92](5283c926)) * same block as other sections</li> <li><a href="psf/requests@9c72a41bec8597f948c9d8caa5dc3f12273b3303"><code>9c72a41</code></a> Bump github/codeql-action from 4.33.0 to 4.34.1</li> <li><a href="psf/requests@ebf71906798ec82f34e07d3168f8b8aecaf8a3be"><code>ebf7190</code></a> Bump github/codeql-action from 4.32.0 to 4.33.0</li> <li><a href="psf/requests@0e4ae38f0c93d4f92a96c774bd52c069d12a4798"><code>0e4ae38</code></a> ([5283c92](5283c926)) * exclude Response.is_permanent_redirect from API docs (<a href="https://redirect.github.com/psf/requests/issues/7244">#7244</a>)</li> <li><a href="psf/requests@d568f47278492e630cc990a259047c67991d007a"><code>d568f47</code></a> ([5283c92](5283c926)) </details>
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.19.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:234b9d1f2ddb057ed7ac6a38db0bf8163d839c65c6cf88ade52530cddebce59e <details><summary>google-cloud-bigquery: v3.42.0</summary> ## [v3.42.0](google-cloud-bigquery-v3.41.0...google-cloud-bigquery-v3.42.0) (2026-06-12) ### Features * drop Python 3.7-3.9 support and regenerate (#17187) ([494abcd](494abcdf)) ### Bug Fixes * include pyopenssl as a dependency (#17345) ([1281790](12817900)) * bump requests from 2.21.0 to 2.33.0 in /packages/google-cloud-bigquery (#17192) ([5283c92](5283c926)) * bump tqdm from 4.23.4 to 4.66.3 in /packages/google-cloud-bigquery (#17194) ([8cda5fe](8cda5fe1)) * bump opentelemetry-instrumentation from 0.37b0 to 0.41b0 in /packages/google-cloud-bigquery (#17195) ([f530a2c](f530a2c6)) * allow multi-part dataset IDs to support BigLake tables (#17137) ([f93911c](f93911c0)) ### Documentation * clarify Quickstart POST example (<a href="https://redirect.github.com/psf/requests/issues/6960">#6960</a>)</li> <li>Additional commits viewable in <a href="psf/requests@v2.21.0...v2.33.0">compare view</a></li> </ul> </details> <br /> ([5283c92](5283c926)) * fix FAQ grammar in httplib2 example</li> <li><a href="psf/requests@774a0b837a194ee885d4fdd9ca947900cc3daf71"><code>774a0b8</code></a> ([5283c92](5283c926)) * same block as other sections</li> <li><a href="psf/requests@9c72a41bec8597f948c9d8caa5dc3f12273b3303"><code>9c72a41</code></a> Bump github/codeql-action from 4.33.0 to 4.34.1</li> <li><a href="psf/requests@ebf71906798ec82f34e07d3168f8b8aecaf8a3be"><code>ebf7190</code></a> Bump github/codeql-action from 4.32.0 to 4.33.0</li> <li><a href="psf/requests@0e4ae38f0c93d4f92a96c774bd52c069d12a4798"><code>0e4ae38</code></a> ([5283c92](5283c926)) * exclude Response.is_permanent_redirect from API docs (<a href="https://redirect.github.com/psf/requests/issues/7244">#7244</a>)</li> <li><a href="psf/requests@d568f47278492e630cc990a259047c67991d007a"><code>d568f47</code></a> ([5283c92](5283c926)) </details>
Relaxes DatasetReference.from_string and TableReference.from_string validation.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes b/512823729 🦕