sdf-jkl opened a new issue, #10616:
URL: https://github.com/apache/arrow-rs/issues/10616

   ### Describe the bug
   
   `shred_variant` and `unshred_variant` support `FixedSizeList`, but other 
shredded Variant APIs do not:
   
   - `VariantArray::try_new` rejects `FixedSizeList` as an illegal 
`typed_value`.
   - `variant_get` does not include `FixedSizeList` in indexed list traversal.
   
   A `FixedSizeList` VariantArray can therefore be created by one public API 
but rejected or mishandled by another.
   
   ### To Reproduce
   
   1. Shred a Variant list using a `DataType::FixedSizeList` schema.
   2. Convert the result to its Arrow representation.
   3. Reconstruct it using `VariantArray::try_new`, or access an element using 
an indexed `variant_get` path.
   
   ### Expected behavior
   
   `FixedSizeList` should either be supported consistently across construction, 
validation, unshredding, and path traversal, or rejected consistently by the 
shredding APIs.
   
   ### Additional context
   
   - Shredding: 
https://github.com/apache/arrow-rs/blob/main/parquet-variant-compute/src/shred_variant.rs#L161
   - Unshredding: 
https://github.com/apache/arrow-rs/blob/main/parquet-variant-compute/src/unshred_variant.rs#L282
   - Validation: 
https://github.com/apache/arrow-rs/blob/main/parquet-variant-compute/src/variant_array.rs#L1212
   - Path traversal: 
https://github.com/apache/arrow-rs/blob/main/parquet-variant-compute/src/variant_get.rs#L160


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