-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Optimize exception handling in GCP bigtable operator and hook #61124
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
Open
KamranImaaz
wants to merge
24
commits into
apache:main
Choose a base branch
from
KamranImaaz:new-remove-operators-redundant-exception-handling
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
0413f3b
added deprecation of project_id parameter
KamranImaaz 522e72e
updated all operators try/except in bigtable
KamranImaaz 7e50759
removed bigquery deprecated project id comment
KamranImaaz 15a653e
added exception library in hook
KamranImaaz ccca98a
re-corrected the try..except block for deletetable operator
KamranImaaz 58f4dee
reverted back previous if..else condition in the operators
KamranImaaz 7b98f0f
handled test files
KamranImaaz f137f47
handled tests part 2
KamranImaaz d0c7da1
handled tests part 3
KamranImaaz 33052b4
handled tests part 4
KamranImaaz 7b52610
removed instance_id from parameter in update cluster
KamranImaaz 324e492
added unit test for update cluster which does not exists in hooks big…
KamranImaaz 1272481
removed the parameter mock_project_id from test_delete_table as it is…
KamranImaaz 8083d05
added unit test for delete table when not exists in hooks test_bigtab…
KamranImaaz 53f1abb
added mock validation in test_bigtable hook
KamranImaaz e30d0aa
modified test_delete_table_when_no_table_exists for mock credentials
KamranImaaz 5b74d5b
test_delete_table_when_no_table_exists modified it
KamranImaaz 331b627
handled CI failures for table delete when no table exists hooks/test_…
KamranImaaz 79fb50b
added the mock project id for test_delete_table_when_no_table_exists …
KamranImaaz e209a97
modified docstrings
KamranImaaz 90c7d44
prek run
KamranImaaz 599fefe
prek run part 2
KamranImaaz 7701c29
fixed d205 docstring error
KamranImaaz 33dee89
final fix D205 docs string error
KamranImaaz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.