Neville Dipale created ARROW-5191:
-------------------------------------
Summary: [Rust] Expose schema in readers (CSV, JSON) without
reading batches
Key: ARROW-5191
URL: https://issues.apache.org/jira/browse/ARROW-5191
Project: Apache Arrow
Issue Type: Improvement
Components: Rust
Reporter: Neville Dipale
It's sometimes convenient to be able to view a datasource's schema without
reading the first record batch. This is a proposal to create a `pub fn
schema(&self) -> Arc<Schema>` on the various readers that we support.
I think this would also enable schema inference in datafusion
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)