-
Notifications
You must be signed in to change notification settings - Fork 33
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
Factor write_direct_dense
out of Cython
#2109
Factor write_direct_dense
out of Cython
#2109
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.
This is because the np_to_tdb_dtype function (see here) cannot handle numpy arrays with multiple dtypes.
I think we need to dig in to this one more, because it doesn't exactly have multiple dtypes -- the dtype is a record type. Also the mem://
issue, see inline.
7b7929c
to
bf869f3
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, would like to get @nguyenv review as well.
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
Co-authored-by: nguyenv <[email protected]>
Co-authored-by: nguyenv <[email protected]>
Co-authored-by: nguyenv <[email protected]>
This PR integrates the
write_direct_dense
functionality directly into Python'sDenseArray::write_direct
, using only the pybind11/C++ bindings.