We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec8d92b commit 83b9518Copy full SHA for 83b9518
parquet-variant-compute/src/variant_get.rs
@@ -224,7 +224,10 @@ fn shredded_get_path(
224
// For shredded/partially-shredded targets (`typed_value` present), recurse into each field
225
// separately to take advantage of deeper shredding in child fields.
226
if let DataType::Struct(fields) = as_field.data_type() {
227
- if target.typed_value_field().is_none() {
+ let has_variant_fields = fields
228
+ .iter()
229
+ .any(|f| f.try_extension_type::<VariantType>().is_ok());
230
+ if target.typed_value_field().is_none() && !has_variant_fields {
231
return shred_basic_variant(target, VariantPath::default(), Some(as_field));
232
}
233
0 commit comments