-
The docs say that files can be pulled from
Is it possible to load a gzipped file that's not in a tar repository? I tried this:
but it, oddly, succeeded with an extremely corrupt result; it should presumably throw an error rather than succeeding in a way that is likely to surprise users |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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 |
Beta Was this translation helpful? Give feedback.
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?