Repository navigation
feat(bigquery): add bigquery_drop_search_index sample to drop a searc… - #14732
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 Python sample and associated unit tests for dropping a BigQuery search index, along with the necessary dependency and configuration files. Feedback is provided on noxfile_config.py to correct the ignored Python versions, ensuring that the oldest supported version (3.10) is tested while intermediate versions are ignored, in line with testing guidelines.
iennae
force-pushed
the
feat/bq-drop-search-index
branch
from
November 2, 2026 23:33
84aa177 to
ea3e098
Compare
…h index from a table Problem: The BigQuery documentation (https://cloud.google.com/bigquery/docs/search-index) needs a standalone, tested Python code sample demonstrating how to drop a search index from a table (region tag `bigquery_drop_search_index`). Solution: - Add `drop_search_index(project_id: str, dataset_id: str, table_id: str) -> None` in `bigquery/search/bigquery_drop_search_index.py` (Remove a search index from a BigQuery table using DROP SEARCH INDEX IF EXISTS.) - Add unit tests (`bigquery/search/bigquery_drop_search_index_test.py`) covering both the success path and API error handling (`GoogleAPICallError`)
iennae
force-pushed
the
feat/bq-drop-search-index
branch
from
November 3, 2026 02:44
ea3e098 to
a64a627
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.
…h index from a table
Problem:
The BigQuery documentation (https://cloud.google.com/bigquery/docs/search-index) needs a standalone, tested Python code sample demonstrating how to drop a search index from a table (region tag
bigquery_drop_search_index).Solution:
drop_search_index(project_id: str, dataset_id: str, table_id: str) -> Noneinbigquery/search/bigquery_drop_search_index.py(Remove a search index from a BigQuery table using DROP SEARCH INDEX IF EXISTS.)bigquery/search/bigquery_drop_search_index_test.py) covering both the success path and API error handling (GoogleAPICallError)Description
Fixes #
Checklist
Testing
Compliance & Style
Post-Approval Actions