Hi all,
I have been trying to read avro files to Julia using Avro.jl, and I have received an error. I have used Claude to find the error and create a MWE and he thinks that the problem is actually in CodecZLib. I have asked to extract MWE and it it indeed shows the difference.
The following is the python code
import zlib
compressed_file = "deflate_bug_demo.bin"
with open(compressed_file, "rb") as f:
data = f.read()
result = zlib.decompress(data, -15)
And the corresponding julia code
using CodecZlib
compressed_file = "deflate_bug_demo.bin"
data = read(compressed_file)
result = transcode(DeflateDecompressor, data)
The data in deflate_bug_demo.bin are in below “option”. Does anyone (@quinnj) knows, what could go wrong?
I use Julia 12.6 with the latest versions CodecZlib v0.7.8.
I have put the data to this google drive https://drive.google.com/file/d/1BLExE_2pk_XLS3IhQe5LEM6kMzXczT-g/view?usp=sharing , since I cannot paste the file here.
Thanks a lot for help