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

R Client 2.0 - Table Ops #4240

Merged
merged 115 commits into from
Aug 15, 2023
Merged

Conversation

alexpeters1208
Copy link
Contributor

@alexpeters1208 alexpeters1208 commented Jul 28, 2023

This PR introduces new table operations to the R client, presented in a dplyr like syntax that will feel familiar to R users. The best places to see the comparison between the new table operations and what "native R" would look and feel like is in the inst/tests/testthat/test_table_ops.R and inst/tests/testthat/test_agg_by.R files. These unit tests are approached as solving the same problem in dplyr with tibbles and the new R client table operations, ensuring correctness while also providing a kind of translation manual.

The documentation of the table_ops.R is not hooked in yet, and there is discussion to be had over the names of some of our operations, as they are consistent with the other Deephaven clients but conflict with function names that already exist in R. This is an easily solvable problem, but it is worth discussing whether we want to mask common functions.

This PR also adds a close method to the client, and it is encouraged to call this method when the client connection is no longer needed.

Resolves #256
Resolves #4090

alexpeters1208 and others added 30 commits June 28, 2023 13:16
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/inst/tests/testthat/test_table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/inst/tests/testthat/test_table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/src/client.cpp Show resolved Hide resolved
R/rdeephaven/R/table_handle_wrapper.R Show resolved Hide resolved
R/rdeephaven/R/table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/R/table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/R/table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Show resolved Hide resolved
R/rdeephaven/R/table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/R/table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/src/client.cpp Outdated Show resolved Hide resolved
R/rdeephaven/R/table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/R/table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/src/client.cpp Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/table_ops.R Outdated Show resolved Hide resolved
R/rdeephaven/R/table_ops.R Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
R/rdeephaven/R/client_wrapper.R Outdated Show resolved Hide resolved
@alexpeters1208 alexpeters1208 enabled auto-merge (squash) August 15, 2023 20:15
@alexpeters1208 alexpeters1208 merged commit c09b038 into deephaven:main Aug 15, 2023
18 of 19 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2023
@alexpeters1208 alexpeters1208 deleted the api-expansion branch August 16, 2023 16:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement generic methods in the R Client Re-implement R Deephaven client over Open API
2 participants