goutamadwant opened a new pull request, #39800: URL: https://github.com/apache/beam/pull/39800
## Summary Improve `GroupByKey` coder validation errors by reporting the specific mismatched coder IDs or invalid output coder URN. The previous validation combined three conditions into one error and passed its formatting arguments in the wrong order. This change gives each condition a focused message and adds regression coverage for valid coders, mismatched key coders, non-iterable output coders, and mismatched value coders. Fixes #27929 ## Testing - `pytest -q sdks/python/apache_beam/runners/pipeline_utils_test.py` (8 passed) - `pytest -q sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py::FnApiRunnerTest::test_group_by_key` (1 passed) ------------------------ Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Mention the appropriate issue in the description. - [x] No `CHANGES.md` update is needed for this internal diagnostic improvement. - [x] This contribution is not large, so the ICLA checklist item does not apply. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
