Skip to content

Duplicate macro definition: partially_shredded_variant_array_gen #9492

@codephage2020

Description

@codephage2020

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

There are two identical macro_rules! definitions with the same name partially_shredded_variant_array_gen in the same test module scope in parquet-variant-compute/src/variant_get.rs.

  1. Line 466-507:

    macro_rules! partially_shredded_variant_array_gen {
        ($func_name:ident,  $typed_value_array_gen: expr) => {
            fn $func_name() -> ArrayRef {
                // ... implementation
            }
        };
    }
  2. Line 1677-1721:

    macro_rules! partially_shredded_variant_array_gen {
        ($func:ident, $typed_array_gen: expr) => {
            fn $func() -> ArrayRef {
                // ... implementation with extra comments
            }
        };
    }

Describe the solution you'd like

Remove the first macro definition (lines 466-507) and keep the second one (lines 1677-1721).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions