Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-14282

Fix exceptions swallowed in several Python I/O connectors

Details

    • Bug
    • Status: Resolved
    • P1
    • Resolution: Fixed
    • 2.32.0, 2.33.0, 2.34.0, 2.35.0, 2.36.0, 2.37.0
    • 2.38.0
    • io-py-gcp
    • None

    Description

      Seems like we do not re-throw errors after reporting metrics at following locations.

      https://github.com/apache/beam/blob/8e217ea0d1f383ef5033ef507b14d01edf9c67e6/sdks/python/apache_beam/io/gcp/datastore/v1new/datastoreio.py#L303

      https://github.com/apache/beam/blob/70d9e2a08cc32192790cd9c98ffa15a756877a73/sdks/python/apache_beam/io/gcp/gcsio.py#L644

      Not re-raising these errors could result in data correctness issues for downstream consumers.

      Attachments

        Activity

          People

            chamikara Chamikara Madhusanka Jayalath
            chamikara Chamikara Madhusanka Jayalath
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h
                3h