Reproducer:
julia> using CSV
julia> default_table = (col1=[1,2,3], col2=[4,5,6], col3=[7,8,9])
julia> io = IOBuffer()
julia> CSV.write(io, default_table; compress=true) # compression
julia> take!(io) |> println
UInt8[] # nothing written !
julia> io = IOBuffer()
julia> CSV.write(io, default_table; compress=false) # no compression
julia> take!(io) |> println
UInt8[0x63, 0x6f, 0x6c, 0x31, 0x2c, 0x63, 0x6f, 0x6c, 0x32, 0x2c, 0x63, 0x6f, 0x6c, 0x33, 0x0a, 0x31, 0x2c, 0x34, 0x2c, 0x37, 0x0a, 0x32, 0x2c, 0x35, 0x2c, 0x38, 0x0a, 0x33, 0x2c, 0x36, 0x2c, 0x39, 0x0a]
Encountered in #1176.
The test also seem to fail a pending previous PR: #1173, with the same error.
Reproducer:
Encountered in #1176.
The test also seem to fail a pending previous PR: #1173, with the same error.