Skip to content

test: add IN list slt coverage for temporal, Decimal128 and Interval types#23875

Draft
alamb wants to merge 1 commit into
apache:mainfrom
alamb:alamb/in-list-slt-temporal-decimal
Draft

test: add IN list slt coverage for temporal, Decimal128 and Interval types#23875
alamb wants to merge 1 commit into
apache:mainfrom
alamb:alamb/in-list-slt-temporal-decimal

Conversation

@alamb

@alamb alamb commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

IN lists over temporal, Decimal128 and Interval columns had no SQL level coverage at all, and the specializations being added in #23014 route those types onto new code paths.

What changes are included in this PR?

Adds in_list.slt coverage for Date32, Date64, Time32(Second), Time64(Nanosecond), Timestamp(Nanosecond, None), Timestamp(Second, "UTC"), Duration(Second), Decimal128 and Interval(MonthDayNano) — covering IN, NOT IN, NULL bearing lists, short lists reachable only via a NULL element, and (for the 16 byte types) list lengths on either side of the specialization threshold — plus a 17 element Int8/UInt8 list and a 9 element Float16 list so the bitmap specialization stays covered as shorter lists gain their own specializations.

Are these changes tested?

This PR is only tests; they pass on main and against the head of #23014.

Are there any user-facing changes?

No.

…types

Part of apache#23307.

Adds sqllogictest coverage for IN lists over Date32, Date64, Time32,
Time64, Timestamp (with and without a timezone), Duration, Decimal128
and Interval(MonthDayNano), none of which had any SQL level coverage.

Also adds a 17 element Int8/UInt8 list and a 9 element Float16 list so
the bitmap specialization stays covered as shorter lists gain their own
specializations.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the sqllogictest SQL Logic Tests (.slt) label Jul 24, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.69%. Comparing base (562f87d) to head (6d501e6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23875      +/-   ##
==========================================
- Coverage   80.70%   80.69%   -0.01%     
==========================================
  Files        1090     1090              
  Lines      370336   370336              
  Branches   370336   370336              
==========================================
- Hits       298873   298859      -14     
- Misses      53648    53658      +10     
- Partials    17815    17819       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants