Abhinav-Agarwal021 commented on issue #13685: URL: https://github.com/apache/gluten/issues/13685#issuecomment-7083111902
Thanks all. Summary of where this landed (also posted on facebookincubator/velox#20483, https://github.com/facebookincubator/velox/issues/20483#issuecomment-7083028112): - Start in Gluten, with no Velox change for now. facebookincubator/velox#20514 is on hold. - I'll rework #13697 so Gluten recognizes divide by zero itself: read the failing function's name from `VeloxException::properties()` (as #13135 does for `cast`) plus the message, only for a known list of functions. Anything else passes through unchanged. - Velox changes (such as an explicit `errorCode`) only where function name + message isn't enough. @zhztheplayer on multi-version maintenance: Velox won't carry any Spark-version-specific information. The mapping stays on Gluten's JVM side and builds the exception with each Spark version's own `QueryExecutionErrors` factory (through the shim layer), so the version-specific condition and exception class come from Spark itself. @felipepessoto #13135 already adds the native-to-JVM carrier for cast failures (`properties()` check in JNI + typed Java exception). Rather than adding a second carrier, I'd like to extend that one to arithmetic errors. Would you be OK with #13697 building on top of #13135, or would you prefer a shared carrier PR first? I'll also address your review comment on #13697 (only unwrap Gluten's own native-error wrapper) in the rework. -- 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]
