-
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
ARROW-15974: [C++] Migrate flight/types.h header definitions to use Result<> #12669
Conversation
|
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.
It looks like test_definitions.cc has to be updated as well, and you'll want to format the code
thanks for taking this on! |
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.
Thanks!
ToRecordBatches and toTable are not overloads
looks like the CI fails when using deprecated APIs, in AMD64 MacOS 10.15 Python 3 I thought I could change the usage inside arrow code later, in a separate PR. Does this mean I should better include everything here? |
Yes, we'll have to update the usages of these APIs at the same time we deprecate them. |
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.
LGTM, thanks
It looks like there's a few more deprecations to take care of:
|
This should now be almost(?) complete. I also included Read() and GetSchema() methods of Flight that are not part of types.h since it's easier to find them all in one go. I'm wondering if it is necessary also create new tests for all the deprecated methods, since they are no longer used anywhere? |
I don't think we have to add tests of the deprecated methods |
Filed ARROW-16053 for the AppVeyor failure. |
It looks like the Python MacOS failures happen on other PRs to, so there are also unrelated to this PR. Seing no more CI failures I think this PR is good to go from my side now |
Yes, the S3FS crashes on macOS are unrelated to this PR. |
Benchmark runs are scheduled for baseline = be45ec6 and contender = d214455. d214455 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Thanks for tackling this @zagto! |
…esult<> Closes apache#12669 from zagto/flight-api-result-types Authored-by: Tobias Zagorni <tobias@zagorni.eu> Signed-off-by: Antoine Pitrou <antoine@python.org>
No description provided.