slfan1989 opened a new pull request, #622:
URL: https://github.com/apache/hudi-rs/pull/622

   ## Description
   
   Add dedicated unit test coverage for the HFile compression codec 
implementation in
   `crates/core/src/hfile/compression.rs`.
   
   The new tests cover:
   
   - mapping supported HFile compression codec IDs to `CompressionCodec` 
variants
   - rejecting an unknown codec ID with `HFileError::UnsupportedCompression`
   - returning input bytes unchanged for the `None` codec
   - successfully decompressing a GZIP payload
   - returning an error for an invalid GZIP payload
   - returning explicit unsupported-codec errors for LZO, Snappy, LZ4, BZIP2, 
and ZSTD
   
   This is a test-only change and does not modify production behavior.
   
   Closes #621.
   
   ## How are the changes test-covered
   
   - [ ] N/A
   - [X] Automated tests (unit and/or integration tests)
   - [ ] Manual tests
   - [ ] Details are described below
   
   Added six unit tests covering codec ID parsing, successful decompression 
paths, and error handling paths in the HFile compression module.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to