Internal helper that fetches and processes results from a completed query. Handles Arrow stream processing and data conversion.
db_sql_fetch_results(
resp,
return_arrow = FALSE,
max_active_connections = 30,
fetch_timeout = 300,
row_limit = NULL,
host = db_host(),
token = db_token(),
show_progress = TRUE
)tibble or arrow Table with query results
Query status response from SQL execution
Boolean, return arrow Table instead of tibble
Integer for concurrent downloads
Integer, timeout in seconds for downloading each result chunk
Integer, limit number of rows returned (applied after fetch)
Databricks host
Databricks token
If TRUE, show progress updates during result fetching (default: TRUE)