dtenedor commented on PR #60588: URL: https://github.com/apache/spark/pull/60588#issuecomment-7024791784
Thanks, confirmed: `GrpcExceptionConverter.errorFactory` re-renders every server `ParseException` from the client's bundled definitions, so a condition the client lacks ends in `INTERNAL_ERROR`. As you note, this predates this PR and affects every rename, so the fix is in its own PR, #60736 (SPARK-62109, under the same epic). When the Scala client's definitions lack the server's condition or subcondition, the converter keeps the server-rendered message, condition, parameters, SQLSTATE and query context. It renders as before when the condition is defined. Converter tests cover a missing subcondition, a missing main condition with no context, and a defined condition. This PR is unchanged for this finding. Clients built without #60736 still re-render, as you point out, and whether it also goes to the release branches is for the committers. -- 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]
