You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neville Dipale (JIRA)" <ji...@apache.org> on 2019/04/21 21:23:00 UTC

[jira] [Commented] (ARROW-5191) [Rust] Expose schema in readers (CSV, JSON) without reading batches

    [ https://issues.apache.org/jira/browse/ARROW-5191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822762#comment-16822762 ] 

Neville Dipale commented on ARROW-5191:
---------------------------------------

Can work on this after 5181 is resolved

> [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
>            Priority: Minor
>
> 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)