Skip to main content

read_parquet_schema_from_object_store

Function read_parquet_schema_from_object_store 

Source
pub async fn read_parquet_schema_from_object_store(
    object_store: Arc<dyn ObjectStore>,
    path: &Path,
) -> Result<Arc<Schema>>
Expand description

Reads only the Arrow schema (including key/value metadata) of a Parquet object.

Avoids decoding any record batches; use when only schema metadata is needed.

ยงErrors

Returns an error if the object cannot be fetched or its footer cannot be parsed.