Skip to content

Minor: Add interleave tests for List<Decimal128> and List<Timestamp(tz)>#10099

Open
alamb wants to merge 1 commit into
apache:mainfrom
alamb:interleave-list-decimal-tz-coverage
Open

Minor: Add interleave tests for List<Decimal128> and List<Timestamp(tz)>#10099
alamb wants to merge 1 commit into
apache:mainfrom
alamb:interleave-list-decimal-tz-coverage

Conversation

@alamb

@alamb alamb commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

N/A — test-only coverage improvement.

Rationale for this change

While reviewing #10025 (which adds a primitive-child fast path to interleave_list), I noticed interleave over list arrays had no test for a primitive child that carries logical type parameters — Decimal128/Decimal256 precision & scale, or timezone-aware Timestamp.

What changes are included in this PR?

Two new tests in arrow-select/src/interleave.rs, each parameterized over i32/i64 offsets:

Are these changes tested?

This PR is the tests. They pass on main, and also guard the fast path added in #10025.

Are there any user-facing changes?

No.

@github-actions github-actions Bot added the arrow Changes to the arrow crate label Jun 9, 2026
@alamb alamb force-pushed the interleave-list-decimal-tz-coverage branch from f40bca8 to 9f2dea9 Compare June 9, 2026 19:16
These exercise interleave over list arrays whose primitive child carries
logical type parameters (Decimal precision/scale, Timestamp timezone),
asserting the interleaved child preserves the parameterized DataType and
correctly carries child-element nulls. Both i32 and i64 offsets covered.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@alamb alamb force-pushed the interleave-list-decimal-tz-coverage branch from 9f2dea9 to e69d41c Compare June 9, 2026 19:25
@alamb alamb changed the title Add interleave tests for List<Decimal128> and List<Timestamp(tz)> Minor: Add interleave tests for List<Decimal128> and List<Timestamp(tz)> Jun 9, 2026
@alamb alamb marked this pull request as ready for review June 9, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant