-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
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_integration
Describe alternatives you've considered
- Extend
typed_value_to_variant
for 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