Closed benoit-intrw closed 2 weeks ago
Hi, I'm glad that you like Tabiew. This is a good feature. However, it raises a couple of concerns for me. The most important one is that Polars is not used for all of Tabiew's supported input formats. For instance, reading FWF files involves using another crate. Furthermore, I'm planning to add Avro, if possible, in the future, which is also not available in Polars. Furthermore, Tabiew will support reading from stdin in the next version, which allows the user to decompress the file using any other tool and pipe it via the "|" operator to Tabiew.
Thank you for your answer, these are fair points.
Using zcat to pipe decompressed data into tw effectively works.
zcat data.jsonl.gz | ./target/release/tw -f jsonl
Does tw consume data from the pipe as needed like less or will read all the data ?
It reads stdin to the end.
Thank you for your answer.
Hello,
First thank you for this nice tool which look promising !
I use compressed jsonl files and tried to open them with tw.
I have tried, as suggested, to build tw with a decompress feature added to polars dependencies ; the file is opened but the the format detection don't work.
If I add
-f jsonl
as option I got the following error.This could be a nice feature addition.