Repository navigation
feat(bigquery): add bigquery_get_search_index_status sample to check … - #14728
Merged
Merged
Conversation
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new script and tests to query and inspect BigQuery search index status. The feedback suggests updating the noxfile_config.py to ignore intermediate Python versions (3.11 and 3.12) instead of the oldest supported version (3.10). Additionally, it is recommended to print the queried coverage_percentage in the status output and update the corresponding unit tests to assert this new output.
iennae
force-pushed
the
feat/bq-get-search-index-status
branch
from
November 2, 2026 23:33
039310e to
4e2e927
Compare
…search index coverage and status Problem: The BigQuery documentation (https://cloud.google.com/bigquery/docs/search-index) needs a standalone, tested Python code sample demonstrating how to check search index coverage and status (region tag `bigquery_get_search_index_status`). Solution: - Add `get_search_index_status(project_id: str, dataset_id: str, table_id: str) -> None` in `bigquery/search/bigquery_get_search_index_status.py` (Query INFORMATION_SCHEMA.SEARCH_INDEXES to inspect index status and coverage percentage in a BigQuery dataset.) - Add unit tests (`bigquery/search/bigquery_get_search_index_status_test.py`) covering both the success path and API error handling (`GoogleAPICallError`)
iennae
force-pushed
the
feat/bq-get-search-index-status
branch
from
November 3, 2026 02:44
4e2e927 to
5089568
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…search index coverage and status
Problem:
The BigQuery documentation (https://cloud.google.com/bigquery/docs/search-index) needs a standalone, tested Python code sample demonstrating how to check search index coverage and status (region tag
bigquery_get_search_index_status).Solution:
get_search_index_status(project_id: str, dataset_id: str, table_id: str) -> Noneinbigquery/search/bigquery_get_search_index_status.py(Query INFORMATION_SCHEMA.SEARCH_INDEXES to inspect index status and coverage percentage in a BigQuery dataset.)bigquery/search/bigquery_get_search_index_status_test.py) covering both the success path and API error handling (GoogleAPICallError)Description
Fixes #
Checklist
Testing
Compliance & Style
Post-Approval Actions