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

Added csv_to_parquet() #88

Closed
wants to merge 1 commit into from
Closed

Added csv_to_parquet() #88

wants to merge 1 commit into from

Conversation

edsu
Copy link
Contributor

@edsu edsu commented Jul 19, 2024

The utils.csv_to_parquet() function will efficiently create a Parquet file for the given CSV. It currently assumes that the Parquet file schema where all the columns are strings. But if it's useful we could adjust this and allow a schema to be passed in?

The reason why we don't simply use Polars for this is that it seems to use large amounts of memory given the CSVs that we are collecting. See pola-rs/polars#13458 (comment) for context.

@edsu edsu marked this pull request as draft July 19, 2024 14:19
@edsu edsu force-pushed the parquet_to_csv branch from 93e066e to 080026d Compare July 25, 2024 14:37
@edsu
Copy link
Contributor Author

edsu commented Nov 15, 2024

I don't think this is still relevant.

@edsu edsu closed this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant