ci: Consolidate Spark SQL test jobs to reduce CI time#3271
Merged
andygrove merged 2 commits intoapache:mainfrom Jan 27, 2026
Merged
ci: Consolidate Spark SQL test jobs to reduce CI time#3271andygrove merged 2 commits intoapache:mainfrom
andygrove merged 2 commits intoapache:mainfrom
Conversation
Merges three near-identical Spark SQL test jobs into a single consolidated job with a config matrix: - spark-sql-auto-scan (was 20 jobs) - spark-sql-native-native-comet (was 14 jobs) - spark-sql-native-iceberg-compat (was 14 jobs, now 7) The consolidated job uses a config matrix that defines all (Spark version, scan implementation) combinations: - auto scan: Spark 3.4, 3.5, 4.0 - native_comet: Spark 3.4, 3.5 - native_iceberg_compat: Spark 3.5 only This reduces total jobs from 48 to 41 (~15% reduction) while maintaining the same test coverage for critical paths. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3271 +/- ##
============================================
+ Coverage 56.12% 60.13% +4.00%
- Complexity 976 1468 +492
============================================
Files 119 175 +56
Lines 11743 16085 +4342
Branches 2251 2665 +414
============================================
+ Hits 6591 9672 +3081
- Misses 4012 5066 +1054
- Partials 1140 1347 +207 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
comphead
approved these changes
Jan 26, 2026
Contributor
comphead
left a comment
There was a problem hiding this comment.
Thanks @andygrove I def like the clean up, however I'm not sure how 15% fewer jobs are calculated, this PR has 118 checks completed vs #3266 (122 checks)
Member
Author
15% fewer Spark SQL jobs, not 15% fewer total jobs, I think |
vigneshsiva11
pushed a commit
to vigneshsiva11/datafusion-comet
that referenced
this pull request
Jan 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Merges three near-identical Spark SQL test jobs into a single consolidated job with a config matrix:
spark-sql-auto-scan(was 20 jobs)spark-sql-native-native-comet(was 14 jobs)spark-sql-native-iceberg-compat(was 14 jobs, now 7)Before: 48 jobs across 3 workflows (293 lines)
After: 41 jobs in 1 consolidated workflow (191 lines)
Reduction: ~15% fewer jobs
Test matrix
The
native_iceberg_compatscanner is now only tested on Spark 3.5, as testing on 3.4 provides diminishing returns.Test plan
🤖 Generated with Claude Code