Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arrow-csv] Schema inference requires csv on disk #5551

Closed
Goffen opened this issue Mar 25, 2024 · 1 comment
Closed

[arrow-csv] Schema inference requires csv on disk #5551

Goffen opened this issue Mar 25, 2024 · 1 comment
Labels
arrow Changes to the arrow crate question Further information is requested

Comments

@Goffen
Copy link

Goffen commented Mar 25, 2024

Describe the bug
To be able to infer a schema without storing files to disk I want to be able to call the Format::infer_schema method.

It's there and seems to work, but it's not exposed so cannot be used outside of library.

To Reproduce
Only method exposed regarding schema inference is infer_schema_from_files which is not great to keep things in memory.

Expected behavior
Format to be public, or some other function being public

@Goffen Goffen added the bug label Mar 25, 2024
@Goffen Goffen changed the title [arrow-csv] Format is not public [arrow-csv] Schema inference requires csv on disk Mar 25, 2024
@Goffen
Copy link
Author

Goffen commented Mar 25, 2024

My bad, it was exported under reader as arrow_csv::reader::Format

@Goffen Goffen closed this as completed Mar 25, 2024
@tustvold tustvold added arrow Changes to the arrow crate question Further information is requested and removed bug labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants