Repository navigation
Revert "[CORE] Preserve original Java exceptions across JNI (combined reference)" - #13812
Merged
zhztheplayer merged 1 commit intoNov 26, 2026
Conversation
… referen…" This reverts commit fb443ac.
|
Run Gluten Clickhouse CI on x86 |
zhztheplayer
approved these changes
Nov 26, 2026
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block approval of the Velox-specific exception-propagation rollback.
No open issues 🎉
What changed in this PR
Reverts the Velox-specific Java exception propagation changes from #13133, while leaving the core JNI exception-preservation mechanism in place.
Changes:
- Removes exception wrapping around input and memory callbacks, and exception recovery at the output boundary.
- Deletes the associated C++ and Scala regression tests and build registrations.
- Updates documentation to clarify the remaining core JNI contract.
| File | Description |
|---|---|
gluten-ut/test/src-velox/test/scala/org/apache/spark/sql/execution/GlutenJniExceptionSuite.scala |
Deletes JNI exception-preservation integration tests. |
gluten-ut/test/pom.xml |
Removes Velox-specific test-source and style-check configuration. |
gluten-ut/spark35/src-delta/test/scala/org/apache/spark/sql/execution/datasources/GlutenDeltaNativeConstraintSuite.scala |
Deletes native Delta constraint exception tests. |
docs/developers/NewToGluten.md |
Clarifies core-only guarantees and removes reverted test documentation. |
cpp/velox/tests/VeloxJavaExceptionTest.cc |
Deletes Velox exception-propagation unit tests. |
cpp/velox/tests/CMakeLists.txt |
Removes the deleted C++ test target. |
cpp/velox/operators/plannodes/RowVectorStream.cc |
Restores direct input iterator callbacks. |
cpp/velox/operators/plannodes/CudfVectorStream.cc |
Restores direct GPU input iterator callbacks. |
cpp/velox/memory/VeloxMemoryManager.cc |
Removes the exception-wrapping allocation listener. |
cpp/velox/jni/VeloxJavaException.h |
Deletes Velox exception wrapping and recovery helpers. |
cpp/velox/compute/WholeStageResultIterator.cc |
Removes Java exception recovery around output and lazy-vector loading. |
Review effort: Balanced
felipepessoto
deleted the
revert-13133-felipepessoto-jni-exception-preservation
branch
November 26, 2026 17:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #13133