Skip to content

chore: Migrate concat tests to sql based testing framework#3352

Merged
mbutrovich merged 1 commit intoapache:mainfrom
andygrove:chore/migrate-concat-tests-to-sql
Feb 1, 2026
Merged

chore: Migrate concat tests to sql based testing framework#3352
mbutrovich merged 1 commit intoapache:mainfrom
andygrove:chore/migrate-concat-tests-to-sql

Conversation

@andygrove
Copy link
Copy Markdown
Member

Summary

  • Add 2-arg, 4-arg, and nested concat queries to concat.sql
  • Add array and binary fallback tests to concat.sql using expect_fallback
  • Remove redundant Scala tests from CometExpressionSuite (concat strings, arrays, binary) and CometStringExpressionSuite (concat_ws)

Test plan

  • mvn test -pl spark -Dsuites=org.apache.comet.CometSqlFileTestSuite -Dcomet.test.file=concat — all 260 tests pass

🤖 Generated with Claude Code

@andygrove
Copy link
Copy Markdown
Member Author

@mbutrovich Since you asked about this, here is an example PR to migrate existing tests to the new framework. The PR is net negative, which I know you like 😄

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.00%. Comparing base (f09f8af) to head (1cc3ce1).
⚠️ Report is 914 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3352      +/-   ##
============================================
+ Coverage     56.12%   60.00%   +3.87%     
- Complexity      976     1475     +499     
============================================
  Files           119      175      +56     
  Lines         11743    16165    +4422     
  Branches       2251     2681     +430     
============================================
+ Hits           6591     9699    +3108     
- Misses         4012     5114    +1102     
- Partials       1140     1352     +212     

☔ View full report in Codecov by Sentry.
📢 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.

@andygrove andygrove force-pushed the chore/migrate-concat-tests-to-sql branch 4 times, most recently from 0768bba to ca7621e Compare January 31, 2026 23:53
…ework

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@andygrove andygrove force-pushed the chore/migrate-concat-tests-to-sql branch from ca7621e to 1cc3ce1 Compare February 1, 2026 00:00
@andygrove andygrove marked this pull request as ready for review February 1, 2026 01:49
Copy link
Copy Markdown
Contributor

@mbutrovich mbutrovich left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @andygrove!

@mbutrovich mbutrovich merged commit c520d7b into apache:main Feb 1, 2026
123 checks passed
@andygrove andygrove deleted the chore/migrate-concat-tests-to-sql branch February 3, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants