pub async fn read_parquet_from_object_store(
object_store: Arc<dyn ObjectStore>,
path: &Path,
) -> Result<(Vec<RecordBatch>, Arc<Schema>)>Expand description
Reads a Parquet file from an object store and returns all record batches plus
the Arrow schema from the builder. The builder’s schema includes metadata restored
from the file’s ARROW:schema key_value_metadata; use it for decoding instead of
each batch’s schema (which has metadata stripped).
§Errors
Returns an error if the path cannot be read or Parquet parsing fails.