-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core]Support compiled class cache in CodeGenUtils #2976
Conversation
Hi @JingsongLi , PTAL when you have time. Thx. |
@FangYongs @liming30 Hi, would u kindly help review this pr? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just add cache to CodeGenUtils
? In that way, we can cache generated Class.
paimon-codegen/src/main/java/org/apache/paimon/codegen/CodeGeneratorImpl.java
Outdated
Show resolved
Hide resolved
@JingsongLi Do you mean cache the instance directly? |
I mean compiled |
Please fix compile |
merged in 4ec5806 Looks like your email ([email protected]) is not bind to your github id. |
@JingsongLi Thx, I've fixed the email link issue. |
Purpose
Linked issue: close #2955
Reuse the generated class in CodeGeneratorImpl to improve performance.
Tests
org.apache.paimon.codegen.CodeGeneratorCacheTest
API and Format
Documentation