Skip to content

branch-4.1: [opt](paimon) add table cache in paimon jni scanner (#66018) - #66438

Merged
yiguolei merged 1 commit into
apache:branch-4.1from
zhangstar333:branch-4.1-66018
Aug 4, 2026
Merged

branch-4.1: [opt](paimon) add table cache in paimon jni scanner (#66018)#66438
yiguolei merged 1 commit into
apache:branch-4.1from
zhangstar333:branch-4.1-66018

Conversation

@zhangstar333

Copy link
Copy Markdown
Contributor

cherr-pick from master #66018

Problem Summary:

in some user case, paimon table have many splits, and if each split
deserialize table, those will cause some memory problem, so add a table
cache in paimon jni scanner

None

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [x] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
@zhangstar333
zhangstar333 requested a review from yiguolei as a code owner August 4, 2026 10:04
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@zhangstar333

Copy link
Copy Markdown
Contributor Author

run buildall

@zhangstar333 zhangstar333 changed the title [opt](paimon) add table cache in paimon jni scanner (#66018) branch-4.1: [opt](paimon) add table cache in paimon jni scanner (#66018) Aug 4, 2026
@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 18.18% (10/55) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 73.66% (30330/41178)
Line Coverage 57.50% (332409/578131)
Region Coverage 54.43% (276899/508732)
Branch Coverage 55.33% (123713/223596)

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 14.29% (4/28) 🎉
Increment coverage report
Complete coverage report

@yiguolei
yiguolei merged commit 55c8638 into apache:branch-4.1 Aug 4, 2026
29 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants