Skip to content

Add a Query object#145

Merged
eddelbuettel merged 25 commits intomasterfrom
de/query_object
Jul 25, 2020
Merged

Add a Query object#145
eddelbuettel merged 25 commits intomasterfrom
de/query_object

Conversation

@eddelbuettel
Copy link
Contributor

@eddelbuettel eddelbuettel commented Jul 24, 2020

This PR adds a new Query class in R, wrapping the corresponding library element. Adding it allows us to rewrite a lot of the examples to make them simpler and "R idiomatic".

This set of change is mostly complete but still needs treatment for variable length (i.e. char / string) column types which also needs a helper function to go back and forth between normal vectors of strings and our "package" char vector and offsets vector. I may leave that for a later PR.

Code from the examples should also be carried over to the unit tests. I should get to that tomorrow. Labeling this as a 'draft' for now. This is now done.

Some of the work for this was done a good week ago and has been rebased twice with other changes to the main branch.

The red crosses below are "simply" due to not skipping a few tests for TileDB < 2.0.0. I.e. those runs each passed on the four other instances tested.

@eddelbuettel eddelbuettel marked this pull request as ready for review July 24, 2020 19:25
@eddelbuettel eddelbuettel merged commit 192dea2 into master Jul 25, 2020
@eddelbuettel eddelbuettel deleted the de/query_object branch July 25, 2020 18:59
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.

2 participants