Skip to content

[Variant] Support Uuid/FixedSizeBinary(16) shredding #8665

@friendlymatthew

Description

@friendlymatthew

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

shred_variant currently panics when attempting to shred Variants containing values of the FixedSizeBinary(16) data type

let input = VariantArray::from_iter([ Some(Variant::from(Uuid::new_v4())), None]);
let out =  shred_variant(&input, &DataType::FixedSizeBinary(16)).unwrap(); // panics!

Describe the solution you'd like
shred_variant should handle this case gracefully instead of panicking, and correctly shred variants of FixedSizeBinary(16).

Note, since FixedSizeBinary(16) represents a UUID, it's super important that the implementation respects the canonical UUID extension type

Related #8420

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions