Skip to content

GH-39845: [C++][Parquet] Minor: avoid creating a new Reader object in Decoder::SetData#39847

Merged
mapleFU merged 1 commit intoapache:mainfrom
mapleFU:minor-opt
Feb 1, 2024
Merged

GH-39845: [C++][Parquet] Minor: avoid creating a new Reader object in Decoder::SetData#39847
mapleFU merged 1 commit intoapache:mainfrom
mapleFU:minor-opt

Conversation

@mapleFU
Copy link
Copy Markdown
Member

@mapleFU mapleFU commented Jan 30, 2024

Rationale for this change

avoid creating a new Reader object in Decoder::SetData

What changes are included in this PR?

avoid creating a new Reader object in Decoder::SetData

Are these changes tested?

Already

Are there any user-facing changes?

no

@mapleFU mapleFU requested a review from wgtmac as a code owner January 30, 2024 07:14
@github-actions
Copy link
Copy Markdown

⚠️ GitHub issue #39845 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jan 30, 2024
@mapleFU
Copy link
Copy Markdown
Member Author

mapleFU commented Feb 1, 2024

Also cc @pitrou

Copy link
Copy Markdown
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, feel free to merge

@mapleFU mapleFU merged commit 2721134 into apache:main Feb 1, 2024
@mapleFU mapleFU removed the awaiting committer review Awaiting committer review label Feb 1, 2024
@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 2721134.

There were 8 benchmark results indicating a performance regression:

The full Conbench report has more details. It also includes information about 13 possible false positives for unstable benchmarks that are known to sometimes produce them.

dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
…ect in Decoder::SetData (apache#39847)

### Rationale for this change

avoid creating a new Reader object in Decoder::SetData

### What changes are included in this PR?

avoid creating a new Reader object in Decoder::SetData

### Are these changes tested?

Already

### Are there any user-facing changes?

no

* Closes: apache#39845

Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: mwish <maplewish117@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C++][Parquet] Minor: avoid re-create a new Reader object in Decoder::SetData

3 participants