Skip to content

test: improve lcm function SQL test coverage#23755

Merged
2010YOUY01 merged 2 commits into
apache:mainfrom
2010YOUY01:codex/coverage-lcm
Jul 23, 2026
Merged

test: improve lcm function SQL test coverage#23755
2010YOUY01 merged 2 commits into
apache:mainfrom
2010YOUY01:codex/coverage-lcm

Conversation

@2010YOUY01

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

Codecov reports low test coverage for this function, so this PR adds more SLT tests for it.

The tests were AI-generated, and I manually verified that the results are correct.

See Codecov bot comment -> ☔ View full report in Codecov by Harness -> Indirect Changes for the updated test coverage.

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions Bot added the sqllogictest SQL Logic Tests (.slt) label Jul 21, 2026
@codecov-commenter

codecov-commenter commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.74%. Comparing base (02a902c) to head (5029f1f).
⚠️ Report is 27 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23755      +/-   ##
==========================================
+ Coverage   80.71%   80.74%   +0.03%     
==========================================
  Files        1089     1089              
  Lines      368293   368948     +655     
  Branches   368293   368948     +655     
==========================================
+ Hits       297250   297897     +647     
+ Misses      53332    53289      -43     
- Partials    17711    17762      +51     

☔ 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.

18
0

# lcm with the remaining decimal array widths

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: I think this comment is not needed. We can even order Decimal32 -> Decimal256 just for consistency, but it's not that important.

@alamb
alamb added this pull request to the merge queue Jul 22, 2026
@alamb
alamb removed this pull request from the merge queue due to a manual request Jul 22, 2026
@2010YOUY01
2010YOUY01 added this pull request to the merge queue Jul 23, 2026
Merged via the queue into apache:main with commit 47bd094 Jul 23, 2026
37 checks passed
@2010YOUY01
2010YOUY01 deleted the codex/coverage-lcm branch July 23, 2026 06:23
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.

3 participants