sd_connect.RdRuntime options configure the execution environment. Use
global = TRUE to configure the global context or use the
returned object as a scoped context. A scoped context is
recommended for programmatic usage as it prevents named
views from interfering with each other.
sd_connect(
...,
global = FALSE,
memory_limit = NULL,
temp_dir = NULL,
memory_pool_type = NULL,
unspillable_reserve_ratio = NULL
)Reserved for future options
Use TRUE to set options on the global context.
Maximum memory for query execution, as a
human-readable string (e.g., "4gb", "512m") or NULL for
unbounded (the default).
Directory for temporary/spill files, or NULL to
use the DataFusion default.
Memory pool type: "greedy" (default) or
"fair". Only takes effect when memory_limit is set.
Fraction of memory (0–1) reserved for
unspillable consumers. Only applies when memory_pool_type is
"fair". Defaults to 0.2 when not explicitly set.
The constructed context, invisibly.
sd_connect(memory_limit = "100mb", memory_pool_type = "fair")