fn validate_file_type_fields(name: &str, fields: &[TypePtr]) -> Result<()>Expand description
Validates the fields of a FILE-annotated group against the Parquet
specification.
A FILE group annotates a reference to a range of bytes. Every field is
optional both in the schema and in the data: a writer may omit any field
from the group definition, and any field that is present must have a field
repetition type of OPTIONAL. The recognized fields (identified by name)
and their expected physical/logical types are:
| Field | Physical type | Logical type |
|---|---|---|
uri | BYTE_ARRAY | STRING |
offset | INT64 | — |
size | INT64 | — |
content_type | BYTE_ARRAY | STRING |
checksum | BYTE_ARRAY | STRING |
inline | BYTE_ARRAY | — |