Skip to content

Propagate relevant fields in DictionaryBlock#getLoadedBlock()#19458

Closed
pettyjamesm wants to merge 1 commit intotrinodb:masterfrom
pettyjamesm:improve-get-loaded-dictionary-block
Closed

Propagate relevant fields in DictionaryBlock#getLoadedBlock()#19458
pettyjamesm wants to merge 1 commit intotrinodb:masterfrom
pettyjamesm:improve-get-loaded-dictionary-block

Conversation

@pettyjamesm
Copy link
Copy Markdown
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
Copy Markdown
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