Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

xiangyuf
Copy link
Contributor

@xiangyuf xiangyuf commented Mar 8, 2024

Purpose

Linked issue: close #2955

Reuse the generated class in CodeGeneratorImpl to improve performance.

Tests

org.apache.paimon.codegen.CodeGeneratorCacheTest

API and Format

Documentation

@xiangyuf
Copy link
Contributor Author

xiangyuf commented Mar 8, 2024

Hi @JingsongLi , PTAL when you have time. Thx.

@xiangyuf
Copy link
Contributor Author

@FangYongs @liming30 Hi, would u kindly help review this pr?

Copy link
Contributor

@JingsongLi JingsongLi left a 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.

@xiangyuf
Copy link
Contributor Author

Can you just add cache to CodeGenUtils? In that way, we can cache generated Class.

@JingsongLi Do you mean cache the instance directly?

@JingsongLi
Copy link
Contributor

JingsongLi commented Mar 13, 2024

Can you just add cache to CodeGenUtils? In that way, we can cache generated Class.

@JingsongLi Do you mean cache the instance directly?

I mean compiled Class<T>.

@xiangyuf xiangyuf changed the title [Core]Support generatedClass cache in CodeGeneratorImpl [Core]Support compiled class cache in CodeGenUtils Mar 14, 2024
@JingsongLi
Copy link
Contributor

Please fix compile

JingsongLi pushed a commit to JingsongLi/paimon that referenced this pull request Mar 15, 2024
@JingsongLi
Copy link
Contributor

merged in 4ec5806

Looks like your email (fengxiangyu.fxy@bytedance.com) is not bind to your github id.

@xiangyuf
Copy link
Contributor Author

xiangyuf commented Mar 15, 2024

merged in 4ec5806

Looks like your email (fengxiangyu.fxy@bytedance.com) is not bind to your github id.

@JingsongLi Thx, I've fixed the email link issue.

zhu3pang pushed a commit to zhu3pang/incubator-paimon that referenced this pull request Mar 29, 2024
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.

[Feature] Support compiled class cache in CodeGenUtils
2 participants