Skip to content

[Variant] Integration tests for reading parquet w/ Variants #8084

@alamb

Description

@alamb

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

We are implementing Variant, and part of doing so is ensuring that the Rust implementation is compatible with other implementations

Describe the solution you'd like
I would like a harness that

  1. For each test listed in cases.json
  2. Reads the expected variant.bin file and creates a Variant from it
  3. Reads the data from the Parquet file (should be a StructArray)
  4. Construct a VariantArray
  5. Read the value from the VariantArray (using both VariantArray::value and the variant_get kernel)
  6. Verify that the value from the VariantArray matches the Variant read from the .bin file

Many of the cases will not to pass initially -- that is fine, we should just mark them as #[ignore] or something and we will enable them as we work through the Variant implementation

Describe alternatives you've considered

I recommend using this PR from @rdblue

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