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

Use Page#getColumns in TableWriterOperator #17147

Merged

Conversation

pettyjamesm
Copy link
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:

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