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

Propagate relevant fields in DictionaryBlock#getLoadedBlock() #19458

Conversation

pettyjamesm
Copy link
Member

Description

Preserves values of relevant fields on DictionaryBlock like uniqueIds and dictionarySourceId as part of DictionaryBlock#getLoadedBlock() which can avoid a potentially expensive recalculation of those values.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

@pettyjamesm pettyjamesm requested a review from dain October 19, 2023 21:20
@cla-bot cla-bot bot added the cla-signed label Oct 19, 2023
@pettyjamesm pettyjamesm force-pushed the improve-get-loaded-dictionary-block branch from d6eefe4 to b734a5a Compare October 20, 2023 15:59
@pettyjamesm pettyjamesm force-pushed the improve-get-loaded-dictionary-block branch from b734a5a to e646c91 Compare October 20, 2023 16:00
@pettyjamesm pettyjamesm marked this pull request as ready for review October 20, 2023 18:07
@pettyjamesm
Copy link
Member Author

Closing this PR since #19385 appears to force LazyBlock unwrapping before dictionary construction.

@pettyjamesm pettyjamesm deleted the improve-get-loaded-dictionary-block branch October 23, 2023 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant