Abhinav-Agarwal021 commented on PR #13697:
URL: https://github.com/apache/gluten/pull/13697#issuecomment-7368705973
Status update:
**Merged**
- facebookincubator/velox#20514: Velox attaches the Spark error condition to
a user error, and `checked_divide` reports `SPARK:DIVIDE_BY_ZERO`.
- #13849: the native error translations now live in one place,
`NativeErrorTranslator`.
**Updated in this PR**
- Merged `main` into the branch and resolved the conflicts with #13849:
- `NativeErrorTranslator` now translates by error condition first, then
falls back to the existing message-based translations, including the new
`DUPLICATED_MAP_KEY` one.
- `ColumnarBatchOutIterator.translateException` still returns a Spark
exception as it is before calling the translator.
- The error-condition tests are now in `backends-velox`'s
`NativeErrorTranslatorSuite`, next to the existing ones.
- `NativeErrorTranslatorSuite` passes on Spark 3.5 and 4.1.
**Remaining**
1. #13822 (letting backends describe native errors to Java at the JNI
boundary) is still open. This PR builds on it, so it should go in first. This
PR's diff will then shrink to the Velox-specific part and the translation.
2. Gluten's Velox pin needs to pick up velox#20514. Until then, this PR
builds Velox with `UPSTREAM_VELOX_PR_ID="20514"` in `get-velox.sh`. I will
revert that line once the pin includes the change.
3. CI approval and review.
--
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]