Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BEAM-1780] BigtableIO: better handling of bad split requests
The contract for `splitIntoFraction` is that it should only throw if the reader is in an unknown, bad state. The proper way to reject invalid or unsatisfiable split requests is to return null. However, `BigtableIO.Read` will currently throw for simply invalid input it should reject. This can lead to less effective dynamic work rebalancing and even stuck jobs. Related to, but probably not a complete solution for, BEAM-1751.
- Loading branch information