1036-ce opened a new issue, #3745:
URL: https://github.com/apache/iceberg-rust/issues/3745
## Problem
The Avro reader/writer path for bytes-like literals lacks end-to-end
coverage:
- `avro_convert_test_binary_ser` / `avro_convert_test_decimal_ser` only
verify the serialized Avro `Value`.
- `test_raw_literal_bytes_*` tests value conversion from manually
constructed Avro values.
- There is no test that writes a `Literal` through an Avro record schema
and reads it back as a `Literal` for binary, decimal, fixed, or uuid.
The TODO comments in `crates/iceberg/src/spec/values/tests.rs` reference
#86, which was closed as completed by #1820.
## Proposal
Add round-trip tests using the existing `check_convert_with_avro` helper:
- binary (including empty)
- decimal (positive and negative)
- fixed (4 bytes)
- uuid (16 bytes)
Remove the stale TODO comments. No production code changes.
## Acceptance criteria
- `cargo test -p iceberg --lib spec::values::tests` passes.
- The diff only touches `crates/iceberg/src/spec/values/tests.rs`.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]