-
Couldn't load subscription status.
- Fork 1k
Description
NOTE: This is likely a pretty tricky one to implement so it is not a good choice if you are looking for something straightforward to help with)
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We are implementing Variant support in arrow-rs (🎉 ), and we are currently implementing "shredding" - the ability to read Variants when they have been partially extracted into a type value column.
This ticket tracks adding support for accessing typed values of the type listed in the description of this ticket as a Variant value
Describe the solution you'd like
Fix the corresponding test cases in the shredded_variant test suite.
After #8325 is merged, you can run that suite using:
cargo test --all-features --test variant_integrationDescribe alternatives you've considered
- Extend
typed_value_to_variantfor the type (source link) - Add an appropriate test case, following the models of tests such as
arrow-rs/parquet-variant-compute/src/variant_get/mod.rs
Lines 442 to 445 in fb7d02e
| #[test] | |
| fn get_variant_partially_shredded_uint8_as_variant() { | |
| numeric_partially_shredded_test!(u8, partially_shredded_uint8_variant_array); | |
| } |
Additional context