You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problems reading GZIPPED file with libz-sys > 1.1.5 withzlib-ng-compat.
With zlib and it works fine. With libz-sys == 1.1.5andzlib-ng-compat` it also works fine.
# Compile each version with differnt decompress-fast settings:
cargo build --release
# with "flate2/zlib-ng-compat"
$ target/release/polars_read_csv
Error: ComputeError("invalid utf8 data in csv")
# with "flate2/zlib-ng"
$ target/release/polars_read_csv
Error: ComputeError("invalid utf8 data in csv")
# with "flate2/zlib"
$ target/release/polars_read_csv
(39999947, 5)
The text was updated successfully, but these errors were encountered:
Problems reading GZIPPED file with libz-sys > 1.1.5 with
zlib-ng-compat
.With
zlib
andit works fine. With
libz-sys == 1.1.5and
zlib-ng-compat` it also works fine.See: pola-rs/polars#3895
Problematic gzipped CSV file: https://temp.aertslab.org/.tsv/atac_fragments.head40000000.tsv.gz
Cargo.toml
src/main.rs
Get polars:
Ttry dffirent flate2 backends in polars-core by changing:
decompress-fast
The text was updated successfully, but these errors were encountered: