View source: R/sql-query-execution.R
| db_sql_fetch_results | R Documentation |
Internal helper that fetches and processes results from a completed query. Handles empty results, INLINE JSON arrays, and EXTERNAL_LINKS Arrow streams.
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
)
resp |
Query status response from SQL execution |
return_arrow |
Boolean, return arrow Table instead of tibble |
max_active_connections |
Integer for concurrent downloads |
fetch_timeout |
Integer, timeout in seconds for downloading each result chunk |
row_limit |
Integer, limit number of rows returned. INLINE fetching stops once enough rows are available; EXTERNAL_LINKS results are limited after fetch. |
host |
Databricks host |
token |
Databricks token |
show_progress |
If |
A tibble for INLINE or empty results. For non-empty EXTERNAL_LINKS
results, a tibble or an Arrow Table according to return_arrow and whether
the arrow package is installed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.