parquet_column_types {nanoparquet}R Documentation

Map between R and Parquet data types

Description

This function works two ways. It can map the R types of a data frame to Parquet types, to see how write_parquet() would write out the data frame. It can also map the types of a Parquet file to R types, to see how read_parquet() would read the file into R.

Usage

parquet_column_types(x, options = parquet_options())

Arguments

x

Path to a Parquet file, or a data frame.

options

Nanoparquet options, see parquet_options().

Value

Data frame with columns:

See Also

parquet_metadata() to read more metadata, parquet_info() for a very short summary. parquet_schema() for the complete Parquet schema. read_parquet(), write_parquet(), nanoparquet-types.


[Package nanoparquet version 0.3.1 Index]