metadata_parquet: Query metadata of a Parquet file

View source: R/arrow.R

metadata_parquetR Documentation

Query metadata of a Parquet file

Description

Query column names and column types of an Apache Parquet data file.

Usage

metadata_parquet(file)

Arguments

file

Path to a Parquet file

Value

A data frame with two columns:

name

Column names

type

Column types, as returned by the ParquetFileReader$GetSchema() method. This does not directly correspond to navtive R data types but should be informative nevertheless.

Author(s)

AndrĂ¡s Svraka

See Also

arrow::write_parquet(), arrow::read_parquet()

Examples

tmp <- tempfile()
arrow::write_parquet(iris, tmp)
metadata_parquet(tmp)


svraka/asmisc documentation built on June 12, 2025, 12:04 p.m.