Skip to contents

Downloads a Parquet .parquet file stored in a MinIO bucket and reads it into memory using the arrow package. Internally, the function retrieves the object contents as raw bytes using minio_get_object, writes them to a temporary file, and then delegates parsing to read_parquet.

Usage

minio_get_parquet(bucket, object)

Arguments

bucket

Character. Name of the MinIO bucket.

object

Character. Object key (path) of the Parquet file within the bucket.

Value

A tabular object read from the Parquet file. The exact return type depends on the Arrow configuration and may be a data.frame, tibble, or arrow::Table.

Details

The returned object depends on the Arrow backend configuration and may be a base data.frame, a tibble, or an arrow::Table. Unlike other minio_get_* readers, this function does not coerce the result to a specific R data structure, allowing users to take full advantage of Arrow for large or lazy workflows.

Examples

if (FALSE) { # \dontrun{
tbl <- minio_get_parquet(
  bucket = "vault",
  object = "data/example.parquet"
)

# Convert explicitly if needed
df <- as.data.frame(tbl)
} # }