Generic helper for executing HDFql operations using memory.
execute_with_memory(
script,
variable = NULL,
direction = c("INTO", "FROM"),
suffix = NULL,
stop.on.error = TRUE
)
The HDFQL operation to execute.
Do not include FROM
or INTO
statements.
if not NULL
, the variable to register for this operation.
Either "FROM"
or "INTO"
. Ignored if variable
is NULL
.
Additional script specifications. This can be used for post-processing (for SELECT operations) or for writing raw values (for INSERT operations).
If TRUE
, return an error message if script
fails. If FALSE
, return the HDFql error value.
The script output, or NULL
.