sdf-jkl opened a new pull request, #11272:
URL: https://github.com/apache/arrow-rs/pull/11272

   # Which issue does this PR close?
   
   Follow-up to #11053.
   
   # Rationale for this change
   
   #11053 allows `VariantArray` to collect `Option<T>` values directly when `T` 
converts into `Variant`. Homogeneous test fixtures can now use 
`VariantArray::from_iter([Some(42_i64), None])`, removing explicit `Variant` 
conversions and row-by-row builder setup.
   
   # What changes are included in this PR?
   
   Simplify fixtures in the variant array iterator, extraction/conversion, 
shredding, and unshredding tests. Preserve value types, row order, null 
semantics, and existing assertions. Tests that exercise builders themselves 
remain unchanged.
   
   # Are these changes tested?
   
   Existing tests cover the fixture changes:
   
   - `cargo test -p parquet-variant-compute --lib` — 369 passed.
   - `cargo clippy -p parquet-variant-compute --all-targets -- -D warnings` — 
passed.
   - `cargo fmt --all -- --check` — passed.
   
   # Are there any user-facing changes?
   
   No. This is a test-only cleanup; production code and public APIs are 
unchanged.
   


-- 
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