[
https://issues.apache.org/jira/browse/ARROW-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662214#comment-17662214
]
Rok Mihevc commented on ARROW-5191:
-----------------------------------
This issue has been migrated to [issue
#21667|https://github.com/apache/arrow/issues/21667] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Rust] Expose CSV and JSON reader schemas
> -----------------------------------------
>
> Key: ARROW-5191
> URL: https://issues.apache.org/jira/browse/ARROW-5191
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust
> Reporter: Neville Dipale
> Assignee: Neville Dipale
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.14.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)