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-39962: [C++] Small CSV reader refactoring #39963

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

pitrou
Copy link
Member

@pitrou pitrou commented Feb 6, 2024

What changes are included in this PR?

Factor our some shared functionality in the CSV reader to avoid code duplication.

Are these changes tested?

Yes, by existing tests.

Are there any user-facing changes?

No.

Copy link

github-actions bot commented Feb 6, 2024

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

@pitrou
Copy link
Member Author

pitrou commented Feb 6, 2024

@github-actions crossbow submit -g cpp

This comment was marked as outdated.

@pitrou pitrou requested a review from bkietz February 6, 2024 16:07
@pitrou pitrou force-pushed the gh39962-csv-reader-refactor branch from f8b9e84 to 7284df9 Compare February 7, 2024 15:08
@pitrou
Copy link
Member Author

pitrou commented Feb 7, 2024

@github-actions crossbow submit -g cpp

This comment was marked as outdated.

cpp/src/arrow/csv/reader.cc Show resolved Hide resolved
@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting review Awaiting review labels Feb 7, 2024
@pitrou pitrou force-pushed the gh39962-csv-reader-refactor branch from f8e976e to 2fb237e Compare February 8, 2024 17:04
@pitrou pitrou force-pushed the gh39962-csv-reader-refactor branch from 2fb237e to 2804b2a Compare February 8, 2024 17:04
@pitrou
Copy link
Member Author

pitrou commented Feb 8, 2024

@github-actions crossbow submit -g cpp

Copy link

github-actions bot commented Feb 8, 2024

Revision: 2804b2a

Submitted crossbow builds: ursacomputing/crossbow @ actions-79e6f2b964

Task Status
test-alpine-linux-cpp GitHub Actions
test-build-cpp-fuzz GitHub Actions
test-conda-cpp GitHub Actions
test-conda-cpp-valgrind Azure
test-cuda-cpp GitHub Actions
test-debian-11-cpp-amd64 GitHub Actions
test-debian-11-cpp-i386 GitHub Actions
test-fedora-38-cpp GitHub Actions
test-ubuntu-20.04-cpp GitHub Actions
test-ubuntu-20.04-cpp-bundled GitHub Actions
test-ubuntu-20.04-cpp-minimal-with-formats GitHub Actions
test-ubuntu-20.04-cpp-thread-sanitizer GitHub Actions
test-ubuntu-22.04-cpp GitHub Actions
test-ubuntu-22.04-cpp-20 GitHub Actions
test-ubuntu-22.04-cpp-no-threading GitHub Actions

@pitrou pitrou merged commit de3cdc0 into apache:main Feb 8, 2024
33 of 34 checks passed
@pitrou pitrou removed the awaiting merge Awaiting merge label Feb 8, 2024
@pitrou pitrou deleted the gh39962-csv-reader-refactor branch February 8, 2024 17:45
Copy link

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

There was 1 benchmark result indicating a performance regression:

The full Conbench report has more details.

dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
### What changes are included in this PR?

Factor our some shared functionality in the CSV reader to avoid code duplication.

### Are these changes tested?

Yes, by existing tests.

### Are there any user-facing changes?

No.

* Closes: apache#39962

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Feb 28, 2024
### What changes are included in this PR?

Factor our some shared functionality in the CSV reader to avoid code duplication.

### Are these changes tested?

Yes, by existing tests.

### Are there any user-facing changes?

No.

* Closes: apache#39962

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
thisisnic pushed a commit to thisisnic/arrow that referenced this pull request Mar 8, 2024
### What changes are included in this PR?

Factor our some shared functionality in the CSV reader to avoid code duplication.

### Are these changes tested?

Yes, by existing tests.

### Are there any user-facing changes?

No.

* Closes: apache#39962

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++] Small CSV reader refactoring
2 participants