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

fixed ObjectAggregationIterator#createNewAggregationBuffer repeat computer bufferFieldTypes #48811

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bryanwongsz
Copy link

@bryanwongsz bryanwongsz commented Nov 10, 2024

What changes were proposed in this pull request?

ObjectAggregationIterator's createNewAggregationBuffer function repeat to computer bufferFieldTypes for same inputs, this invoke high occupation ratio on Flame Graph

image

Why are the changes needed?

Does this PR introduce any user-facing change?

provides an aggregateBufferFieldTypes property that does not need to be calculated each time.

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

@github-actions github-actions bot added the SQL label Nov 10, 2024
@HyukjinKwon
Copy link
Member

Mind filien a JIRA please?

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

Successfully merging this pull request may close these issues.

2 participants