Shaheer Amjad
Shaheer Amjad
### Problem When a pip subprocess fails and the command is passed as a short list (e.g. `['python', '-m', 'pip', 'install', 'pkg']`), the exception handler in `sdks/python/apache_beam/utils/processes.py` raised **IndexError** instead...
Enhancement: Add exception chaining (`raise ... from`) throughout codebase to preserve error context
### What would you like to happen? Currently, many exception handlers throughout the Python SDK re-raise exceptions without using `raise ... from`, which loses the original traceback context. This makes...
### What would you like to happen? Currently, to get the first N elements from a PCollection, users need to use `Top.Of()` or `Sample.FixedSizeGlobally()`, which are more complex than needed...
When a pip subprocess fails and the command is passed as a short list (e.g. `[python, '-m', 'pip', 'install', 'pkg']`), the exception handler in `sdks/python/apache_beam/utils/processes.py` raises **IndexError** instead of the...