Skip to content

GH-36674: [C++] Use anonymous namespace in arrow/ipc/reader.cc - #36937

Merged
pitrou merged 2 commits into
apache:mainfrom
pegasas:namespace
Aug 9, 2023
Merged

pitrou merged 2 commits into
apache:mainfrom
pegasas:namespace

Conversation

@pegasas

@pegasas pegasas commented Jul 30, 2023 •

Copy link
Copy Markdown
Contributor

Rationale for this change

The following types and functions should be in file scope:

IpcReadConext, BatchDataReadRequest, ArrayLoader,
DecompressBuffer(s), LoadRecordBatch*, GetCompression*,
ReadRecordBatchInternal,
GetInclusionMaskAndOutSchmea, UnpackSchemaMessage,
ReadDictionary, AsyncRecordBatchStreamReaderImpl.

What changes are included in this PR?

Use anonymous namespace around the aforementioned definitions.

Are these changes tested?

No

Are there any user-facing changes?

No

@pegasas

pegasas commented Jul 30, 2023

Copy link
Copy Markdown
Contributor Author

trying to fix #36674

@pegasas

pegasas commented Aug 1, 2023

Copy link
Copy Markdown
Contributor Author

hi, @westonpace ,

Would you like to review this PR when anytime you are available?

Regards,
Junyao

Comment thread cpp/src/arrow/ipc/reader.cc Resolved
@pitrou

pitrou commented Aug 9, 2023

Copy link
Copy Markdown
Member

@pegasas Can you make the PR description a bit more explicit?

@pegasas

pegasas commented Aug 9, 2023

Copy link
Copy Markdown
Contributor Author

@pegasas Can you make the PR description a bit more explicit?

Sure.

I added more description into that.

@pegasas
pegasas requested a review from pitrou August 9, 2023 11:34
@pitrou pitrou changed the title [C++] Use anonymous namespace in arrow/IPC/reader.cc [C++] Use anonymous namespace in arrow/ipc/reader.cc Aug 9, 2023
@pitrou pitrou changed the title [C++] Use anonymous namespace in arrow/ipc/reader.cc GH-36674: [C++] Use anonymous namespace in arrow/ipc/reader.cc Aug 9, 2023
@pitrou
pitrou merged commit 1a00fec into apache:main Aug 9, 2023
@github-actions

github-actions Bot commented Aug 9, 2023

Copy link
Copy Markdown

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

@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 1a00fec.

There were no benchmark performance regressions. 🎉

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

loicalleyne pushed a commit to loicalleyne/arrow that referenced this pull request Nov 13, 2023
…pache#36937)

### Rationale for this change

The following types and functions should be in file scope:

IpcReadConext, BatchDataReadRequest, ArrayLoader,
DecompressBuffer(s), LoadRecordBatch*, GetCompression*,
ReadRecordBatchInternal,
GetInclusionMaskAndOutSchmea, UnpackSchemaMessage,
ReadDictionary, AsyncRecordBatchStreamReaderImpl.

### What changes are included in this PR?

Use anonymous namespace around the aforementioned definitions.

### Are these changes tested?

No

### Are there any user-facing changes?

No

Lead-authored-by: pegasas <[email protected]>
Co-authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
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++] Use anonymous namespace in arrow/IPC/reader.cc

2 participants