Skip to content

[Rust] Expose CSV and JSON reader schemas #21667

@asfimport

Description

@asfimport

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

Reporter: Neville Dipale / @nevi-me
Assignee: Neville Dipale / @nevi-me

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-5191. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions