Skip to content

minor: Add coverage for LogicalType::Variant to tests#9981

Open
etseidl wants to merge 2 commits into
apache:mainfrom
etseidl:variant_tests
Open

minor: Add coverage for LogicalType::Variant to tests#9981
etseidl wants to merge 2 commits into
apache:mainfrom
etseidl:variant_tests

Conversation

@etseidl
Copy link
Copy Markdown
Contributor

@etseidl etseidl commented May 15, 2026

Which issue does this PR close?

N/A

Rationale for this change

While experimenting with a new form for LogicalType I found some tests for LogicalType in basic.rs did not cover the Variant variant.

What changes are included in this PR?

Add coverage. Also fixes lack of coverage for i16, i32, and 'i64` for one test.

Are these changes tested?

Yes

Are there any user-facing changes?

No, tests only

@github-actions github-actions Bot added the parquet Changes to the parquet crate label May 15, 2026
Comment thread parquet/src/basic.rs
},
LogicalType::Integer {
bit_width: 8,
bit_width: 16,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small drive-by fixup. We were testing i8 four times

Copy link
Copy Markdown
Contributor

@vegarsti vegarsti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parquet Changes to the parquet crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants