First, does the file decompress successfully (using e.g. gunzip)?



On Mon, 29 Mar 2021 13:56:02 +0200
jonathan mercier <[email protected]> wrote:
> Dear,
> 
> I failed to read a gzip compressed tabular file:
> 
> ```bash
> $ file a_file.gz: gzip compressed data, extra field
> ```
> 
> ```python
> (pdb) read_csv(a_file)
> *** OSError: Truncated compressed stream
> ```
> 
> 
> So to my understanding the problem de not come from reader or parser
> option but from th decompression.
> 
> So how can I get the reason pyarrow failed to read a such file ?
> 
> thanks
> 
> Best regards 
> 



Reply via email to