[fix](be) Harden JNI reader split lifecycle#65503
Conversation
### What problem does this PR solve? JNI-backed table readers could violate scanner selection, cancellation, cleanup, EOF, adaptive batching, and rolling-upgrade contracts. Issue Number: N/A Related PR: N/A ### Release note Harden JNI table-reader lifecycle handling and compatibility for Paimon and Hudi scans. ### Check List - [x] Added unit tests for the fixes - [x] Added comments for compatibility and lifecycle invariants - [x] Passed 45 focused ASAN BE unit tests - [x] Passed repository format and diff checks
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
|
/review |
|
Codex automated review failed and did not complete. Error: You've hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at 5:19 PM. Please inspect the workflow logs and rerun the review after the underlying issue is resolved. |
|
/review |
|
Codex automated review failed and did not complete. Error: You've hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at 5:19 PM. Please inspect the workflow logs and rerun the review after the underlying issue is resolved. |
TPC-H: Total hot run time: 30004 ms |
TPC-DS: Total hot run time: 180273 ms |
ClickBench: Total hot run time: 24.99 s |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
/review |
What problem does this PR solve?
This PR fixes all JNI-related To Do items under the DORIS-27038 epic:
Issue Number: DORIS-27053, DORIS-27058, DORIS-27059, DORIS-27064, DORIS-27077, DORIS-27078
Related PR: N/A
Release note
Harden JNI table-reader lifecycle handling and rolling-upgrade compatibility for Paimon and Hudi scans.
Check List
build-support/check-format.shandgit diff --check.stddef.hand pre-existing repository diagnostics.