rui-mo commented on issue #13685: URL: https://github.com/apache/gluten/issues/13685#issuecomment-7110648982
An update: As suggested by the Velox community, error message text is not part of a stable contract. Velox may change messages freely, including to improve clarity, and such changes could silently break message-based error mappings. Instead, Spark functions in Velox could explicitly specify the corresponding error codes. With this in mind, **we'd prefer to move forward with the `errorCode` approach and avoid parsing error messages in Gluten**. Once the necessary changes are in place in Velox, Gluten can rely directly on `errorCode` for error handling. For the relevant PRs, I'm fine with merging them first to unblock some cases in the short term. We can then follow up with a refactor once the `errorCode` changes have been merged into Velox's `sparksql` module. -- 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]
