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

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

Merged
merged 2 commits into from
Aug 9, 2023
Merged

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

merged 2 commits into from
Aug 9, 2023

Conversation

pegasas
Copy link
Contributor

@pegasas pegasas commented Jul 30, 2023

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
Copy link
Contributor Author

pegasas commented Jul 30, 2023

trying to fix #36674

@pegasas
Copy link
Contributor Author

pegasas commented Aug 1, 2023

hi, @westonpace ,

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

Regards,
Junyao

cpp/src/arrow/ipc/reader.cc Show resolved Hide resolved
@pitrou
Copy link
Member

pitrou commented Aug 9, 2023

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

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Aug 9, 2023
@pegasas
Copy link
Contributor Author

pegasas commented Aug 9, 2023

@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
34 of 35 checks passed
@pitrou pitrou removed the awaiting committer review Awaiting committer review label Aug 9, 2023
@github-actions
Copy link

github-actions bot commented Aug 9, 2023

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

@conbench-apache-arrow
Copy link

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 <616672335@qq.com>
Co-authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
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