Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update parquet-variant-compute/src/variant_array.rs
Co-authored-by: Ryan Johnson <[email protected]>
  • Loading branch information
alamb and scovich authored Aug 7, 2025
commit 55a7ae6be5566cb665d03a80539cbbb1a757156c
9 changes: 4 additions & 5 deletions parquet-variant-compute/src/variant_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,12 @@ impl VariantArray {
let value = inner
.column_by_name("value")
.map(|v| {
let Some(binary_view) = v.as_binary_view_opt() else {
return Err(ArrowError::NotYetImplemented(format!(
v.as_binary_view_opt().ok_or_else(|| {
ArrowError::NotYetImplemented(format!(
"VariantArray 'value' field must be BinaryView, got {}",
v.data_type()
)));
};
Ok(binary_view)
));
})
})
.transpose()?;

Expand Down