Skip to content

Remove redundant try/except blocks in Bigtable operators - #60825

Closed
SeifEddineMezned wants to merge 2 commits into
apache:mainfrom
SeifEddineMezned:fix-redundant-try-except-bigtable
Closed

SeifEddineMezned wants to merge 2 commits into
apache:mainfrom
SeifEddineMezned:fix-redundant-try-except-bigtable

Conversation

@SeifEddineMezned

@SeifEddineMezned SeifEddineMezned commented Jan 20, 2026 •

Copy link
Copy Markdown

Related: #60687

Summary

Removed redundant try/except blocks in Bigtable operators that only logged and re-raised exceptions without adding extra handling.
Behavior-changing handlers for example NotFound, AlreadyExists were preserved.

@boring-cyborg

boring-cyborg Bot commented Jan 20, 2026

Copy link
Copy Markdown

Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
Here are some useful points:

  • Pay attention to the quality of your code (ruff, mypy and type annotations). Our prek-hooks will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example DAG that shows how users should use it.
  • Consider using Breeze environment for testing locally, it's a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
  • Always keep your Pull Requests rebased, otherwise your build might fail due to changes not related to your commits.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: [email protected]
    Slack: https://s.apache.org/airflow-slack

@boring-cyborg boring-cyborg Bot added area:providers provider:google Google (including GCP) related issues labels Jan 20, 2026
@SeifEddineMezned

Copy link
Copy Markdown
Author

Hi,
This PR removes redundant try/except blocks in Bigtable operators that only logged and re-raised exceptions.
Behavior-changing handlers are preserved.
Thank you for reviewing
Seif Edine Mezned

@shahar1 shahar1 left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'd appreciate if you let the original assignee to solve the original issue on his own.
Knowingly stepping in while someone else is already working on an issue, is generally considered impolite in this community.
For future cases - you may ask the assignee in the issue to work on parts and ask for their consent, or wait at least for a week of inactivity before asking to be assigned instead.
Nontheless, we'll be happy to see your contributions here - but instead of taking on already assigned issues, why won't you try any of the other 280 issues labeled as good first issue? (160 of them are unassigned)

@SeifEddineMezned

Copy link
Copy Markdown
Author

I'd appreciate if you let the original assignee to solve the original issue on his own.

Knowingly stepping in while someone else is already working on an issue, is generally considered impolite in this community.

For future cases - you may ask the assignee in the issue to work on parts and ask for their consent, or wait at least for a week of inactivity before asking to be assigned instead.

Nontheless, we'll be happy to see your contributions here - but instead of taking on already assigned issues, why won't you try any of the other 280 issues labeled as good first issue?

Thanks for the feedback I apologize, I didn’t realize the issue was already being actively handled by the assignee.
I understand that now and I’ll avoid picking already-assigned issues in the future (unless I coordinate with the assignee first).
Thanks again!

@shahar1

shahar1 commented Jan 20, 2026

Copy link
Copy Markdown
Contributor

I'd appreciate if you let the original assignee to solve the original issue on his own.
Knowingly stepping in while someone else is already working on an issue, is generally considered impolite in this community.
For future cases - you may ask the assignee in the issue to work on parts and ask for their consent, or wait at least for a week of inactivity before asking to be assigned instead.
Nontheless, we'll be happy to see your contributions here - but instead of taking on already assigned issues, why won't you try any of the other 280 issues labeled as good first issue?

Thanks for the feedback I apologize, I didn’t realize the issue was already being actively handled by the assignee. I understand that now and I’ll avoid picking already-assigned issues in the future (unless I coordinate with the assignee first). Thanks again!

Apologize accepted - I'll be happy to review your future PRs! Looking forward.

@shahar1 shahar1 closed this Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants