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

Update nanoarrow and expand use #663

Merged
merged 11 commits into from
Feb 22, 2024
Merged

Conversation

eddelbuettel
Copy link
Contributor

This PR updates the vendored nanoarrow to its recent 0.4.0 release, which includes a rewritten header for R as well as a new C++ header.

These are use in a rewritten (main) access (from tiledb_array) code path now returning a proper nanoarrow object. This is not user-visible: the change affects chiefly what intermediate object is then turned into an Arrow Table object. (We could also return to exporting a nanoarrow object directly as have in the past.)

There are additional optimisations to be had. The arrow allocation can/should happen before the query object is created. This is left for another PR. Some older code paths still use a more homegrown set of functions, while they are part of the package (and exported / tested) they are not widely used so this to is left for another (non-urgent) PR.

But relying more completely on nanoarrow the export is now more robust and performant. Note that the PR was open and active for a few days, the actions tab shows earlier builds -- but because of a rebase this now looks new.

Copy link

This pull request has been linked to Shortcut Story #41534: Refactor to make use of nanoarrow.

R/ArrowIO.R Outdated Show resolved Hide resolved
R/ArrowIO.R Outdated Show resolved Hide resolved
R/TileDBArray.R Outdated Show resolved Hide resolved
@eddelbuettel
Copy link
Contributor Author

@awenocur Thanks for the dligence. b8fbdbe took care of it. It was all non-code to 'ci skip' seems fine.

@eddelbuettel eddelbuettel merged commit f6d12eb into master Feb 22, 2024
1 check passed
@eddelbuettel eddelbuettel deleted the de/sc-41534/more_nanoarrow branch February 22, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants