Skip to content

Reduce the clone() cost of Statistics by caching #15614

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

Open
xudong963 opened this issue Apr 7, 2025 · 0 comments
Open

Reduce the clone() cost of Statistics by caching #15614

xudong963 opened this issue Apr 7, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@xudong963
Copy link
Member

          Wrapping the Statistics with `Arc<>'`s can be a solution?

Some structs like FileGroup, PartitionedData etc. caches the Statistics. So, if the source operators can access those, they should return over them. However, for other intermediate operators, perhaps we can utilize PlanProperties? The Statistics will be initiated once and cached like other planning properties

Originally posted by @berkaysynnada in #15503 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant