Infer Parquet schema of a data frame
infer_parquet_schema(df, options = parquet_options())
Data frame, the inferred schema. It has the same columns as
the return value of read_parquet_schema()
:
file_name
, name
, r_type
, type
, type_length
, repetition_type
, converted_type
, logical_type
, num_children
, scale
, precision
, field_id
.
Data frame.
Return value of parquet_options()
, may modify the
R to Parquet type mappings.
read_parquet_schema()
to read the schema of a Parquet file,
parquet_schema()
to create a Parquet schema from scratch.