Skip to content

[Variant] Unify the cast option usage in ParquentVariant #8873

@klion26

Description

@klion26

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

Currently, we use arrow::compute::CastOptions in variant_get and crate::CastOptions in cast_to_variant_with_options, maybe, we can unify these in the future.

Describe the solution you'd like

As the cast option here is for the variant, maybe we can unify this to use carate::CastOption and extend it if necessary (such as lossy, transform, etc.).

Describe alternatives you've considered

Additional context

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