Skip to content

Is it possible load a gzip-ed csv file? #872

Answered by Fil
llimllib asked this question in Q&A
Discussion options

You must be logged in to vote

Not possible atm. For this task you can use fflate directly on the client.

The goal of "pulling from archives" is to allow a data loader to output multiple files, which can then be extracted read one by one.

Note that if we added a built-in "gz" data loader extension, you would call const stats = await FileAttachment("test.csv").csv(); without the .gz—but the text.csv.gz file would be the source of that file. However it would still be built as test.csv, so I'm not sure what the benefit of the additional complexity would be?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@llimllib
Comment options

@Fil
Comment options

Fil Feb 20, 2024
Collaborator

@llimllib
Comment options

Answer selected by llimllib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants