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-8370: [C++] Migrate type/schema APIs to Result<T> #6872
Conversation
Also some clean up in the Python wrap/unwrap functions.
aa36675
to
3d6a6c6
Compare
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 again
This is the second time I've seen a failure to find gobject-introspection
, @kou?
https://github.com/apache/arrow/pull/6872/checks?check_run_id=571082161#step:5:1023
https://github.com/apache/arrow/pull/6869/checks?check_run_id=570456337#step:5:1023
PyObject*); \ | ||
ARROW_PYTHON_EXPORT PyObject* wrap_##FUNC_SUFFIX(const std::shared_ptr<TYPE_NAME>&); \ | ||
ARROW_DEPRECATED("Use Result-returning version") \ | ||
ARROW_PYTHON_EXPORT Status unwrap_##FUNC_SUFFIX(PyObject*, \ |
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 it necessary to deprecate these instead of just removing them? Aren't they internal?
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.
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.
Ok. In this case, I've renamed the XXX_record_batch
APIs to XXX_batch
, for consistency with the Cython API. Is that a problem?
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.
+1, looks good here
Also some clean up in the Python wrap/unwrap functions.