cloud-fan commented on PR #55876: URL: https://github.com/apache/spark/pull/55876#issuecomment-4451669035
@peter-toth you're right — the invariant should stay strict. I've reworked this PR to just add an `assert` so an upstream violation surfaces with a clear message instead of an opaque `IndexOutOfBoundsException`. The producer-side bug I was working around lives in our internal fork; I'll fix it there. PTAL. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
