Skip to content

branch-4.0: [bug](udf) udf should cache classloader in static load #60709#60975

Merged
yiguolei merged 1 commit intobranch-4.0from
auto-pick-60709-branch-4.0
Mar 3, 2026
Merged

branch-4.0: [bug](udf) udf should cache classloader in static load #60709#60975
yiguolei merged 1 commit intobranch-4.0from
auto-pick-60709-branch-4.0

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 3, 2026

Cherry-picked from #60709

### What problem does this PR solve?
Problem Summary:
before the UDF use static load will cache some values in UdfClassCache,
but not cache the classload, those will cause some NoClassDefFoundError
when users UDF have invoke some thirdparty class.
@github-actions github-actions bot requested a review from yiguolei as a code owner March 3, 2026 06:36
@Thearas
Copy link
Contributor

Thearas commented Mar 3, 2026

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?

@dataroaring dataroaring closed this Mar 3, 2026
@dataroaring dataroaring reopened this Mar 3, 2026
@Thearas
Copy link
Contributor

Thearas commented Mar 3, 2026

run buildall

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage `` 🎉
Increment coverage report
Complete coverage report

@yiguolei
Copy link
Contributor

yiguolei commented Mar 3, 2026

skip buildall

@yiguolei yiguolei merged commit 5c97bb5 into branch-4.0 Mar 3, 2026
28 of 31 checks passed
@github-actions github-actions bot deleted the auto-pick-60709-branch-4.0 branch March 3, 2026 09:40
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.

5 participants