Skip to contents

dplyr::collect() method for tables created by tbl_delta(), tbl_parquet(), tbl_csv() and tbl_json(). Verifies that the backing DuckDB connection is still open and that the azure extension is loaded before the query is materialised, then defers to the underlying dbplyr method.

Usage

# S3 method for class 'tbl_az'
collect(x, ...)

Arguments

x

A tbl_az produced by tbl_delta(), tbl_parquet(), tbl_csv() or tbl_json().

...

Passed on to the next collect() method.

Value

A tibble::tibble() with the collected rows.

See also

collect_arrow() and stream_arrow() to get the result as Arrow data instead.

Examples

if (FALSE) { # \dontrun{
# Requires a live Azure account, credentials, and network access.
conn <- az_conn()
tbl_delta(conn, "abfss://container@account/path/sales") |>
  dplyr::collect()
} # }