You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate parquet-variant-compute to Rust 2024 (#8511)
# Which issue does this PR close?
- Contribute to #6827
# Rationale for this change
Splitting up #8227.
# What changes are included in this PR?
Migrate `parquet-variant-compute` to Rust 2024
# Are these changes tested?
CI
# Are there any user-facing changes?
Yes
let err = variant_get(&array, options).unwrap_err();
604
604
// TODO make this error message nicer (not Debug format)
605
-
assert_eq!(err.to_string(),"Cast error: Failed to extract primitive of type Int32 from variant ShortString(ShortString(\"n/a\")) at path VariantPath([])");
605
+
assert_eq!(
606
+
err.to_string(),
607
+
"Cast error: Failed to extract primitive of type Int32 from variant ShortString(ShortString(\"n/a\")) at path VariantPath([])"
608
+
);
606
609
}
607
610
608
611
/// Perfect Shredding: extract the typed value as a VariantArray
0 commit comments