-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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-45394: [C++] Handle Single-Line JSON Without Line Ending #45443
base: main
Are you sure you want to change the base?
Conversation
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format?
or
See also: |
|
cpp/tests/test_file_json.cc
Outdated
@@ -0,0 +1,81 @@ | |||
#include <gtest/gtest.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there any reason you're not using the existing files_json_test.cc
file and infrastructure and you're adding all this new CMake?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @raulcd,
I sincerely apologize for overlooking the existing file_json_test.cc file and the associated infrastructure. I should have checked and integrated my changes into the existing test framework instead of introducing new CMake configurations.
I’ll make the necessary corrections to align with the existing structure and update the PR accordingly. Thanks for pointing this out!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries at all! Thanks for your contributions!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @raulcd a
I hope you're doing well.
I've made progress on fixing issue #45394, but I've encountered some challenges with running the tests due to hardware and internet limitations. While I believe I've addressed the core of the problem, the tests are still not passing, and I think this might be an upstream issue.
I've pushed my changes to the fix-45394 branch. Could you please take it from here and help with running the tests and finalizing any additional changes?
I appreciate your assistance and look forward to your feedback.
Thank you!
My correction branch
Fixes issue #45394: Handle single-line JSON without line ending
pyarrow.dataset.dataset
would correctly infer the schema but fail to load the values from that row.Looking forward to feedback!