Skip to content

Use Page#getColumns in TableWriterOperator#17147

Merged
pettyjamesm merged 1 commit intotrinodb:masterfrom
pettyjamesm:use-page-getcolumns-in-tablewriter
Apr 21, 2023
Merged

Use Page#getColumns in TableWriterOperator#17147
pettyjamesm merged 1 commit intotrinodb:masterfrom
pettyjamesm:use-page-getcolumns-in-tablewriter

Conversation

@pettyjamesm
Copy link
Copy Markdown
Member

Description

Avoids an additional unnecessary copy of the Block[] array for each input page in TableWriterOperator by using the Page helper method instead of constructing the block array externally (which incurs an defensive copy when passed into the Page constructor).

Release notes

(x) This is not user-visible or 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:

@cla-bot cla-bot bot added the cla-signed label Apr 20, 2023
@pettyjamesm pettyjamesm requested a review from djsagain April 20, 2023 15:49
Avoids an additional unnecessary copy of the Block[] array for each
input page in TableWriter by using the Page helper method instead of
constructing the block array externally (which incurs an defensive copy
when passed into the Page constructor).
@pettyjamesm pettyjamesm force-pushed the use-page-getcolumns-in-tablewriter branch from 0f2fbb6 to 329ddfa Compare April 20, 2023 20:22
@pettyjamesm pettyjamesm merged commit 0adcabf into trinodb:master Apr 21, 2023
@pettyjamesm pettyjamesm deleted the use-page-getcolumns-in-tablewriter branch April 21, 2023 14:07
@github-actions github-actions bot added this to the 415 milestone Apr 21, 2023
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.

2 participants