Query$to_arrow_table
Query$to_arrow_table(max_results=NULL, variables=NULL, max_parallelization=parallely::availableCores()) → Arrow Table
Returns an Arrow Table representing the results of a query on Redivis. Since arrow is the underlying transport format for Redivis tables, loading data directly into an arrow table will always be the most performant and memory efficient.
Parameters:
max_results
: int, default NULL
The max number of records to load into the dataframe. If not specified, the entire query results will be loaded.
variables
: list(str) | character vector
The specific variables to return, e.g., variables = c("name", "date")
. If not specified, all variables in the query results will be returned.
max_parallelization
: int, default parallely::availableCores()
The maximum parallelization when loading the table. Uses the future::multicore
strategy when supported, falling back to future::multisession
if not.
Returns:
Last updated