Repository navigation
Conversation
| EXPECT_EQ(blob_result.second, ToBytes("hello puffin")); | ||
| } | ||
|
|
||
| TEST(PuffinRoundTripTest, ZstdCompressedBlobs) { |
There was a problem hiding this comment.
The Java fixtures cover Java writer → C++ reader compatibility. Could we preserve a reverse-direction check for C++ writer →
Java reader as well? I verified it locally for empty, binary, repetitive, and incompressible payloads. The check should compare decoded payloads and metadata, since different zstd implementations can produce different valid compressed bytes.
There was a problem hiding this comment.
Idea is good, But i don't expect including this PR. If we checks c++ -> java reader here, then we should cover go, python, rust also and other language have to do same ways vice-versa. I don't think that is realistic.
In datasketches, we have tck repo(https://github.com/apache/datasketches-tck) for that. iceberg has iceberg-verification for same reason.
I think iceberg also handles binary compatability checks there.
how do you think? I will send serialized file generation PR later.
issue: #1192
This is first step. Adding zstd compression and decompression logic.
disclosure: I got helps from opus 5.5 for writing test code.