Skip to content

Conversation

@andygrove
Copy link
Member

Which issue does this PR close?

Closes #646

Rationale for this change

Spark 3.3 is EOL. Let's drop support now and reduce the CI overhead.

What changes are included in this PR?

How are these changes tested?

@andygrove andygrove marked this pull request as ready for review March 14, 2025 15:28
@codecov-commenter
Copy link

codecov-commenter commented Mar 14, 2025

Codecov Report

Attention: Patch coverage is 23.52941% with 13 lines in your changes missing coverage. Please review.

Project coverage is 58.64%. Comparing base (f09f8af) to head (c463237).
Report is 80 commits behind head on main.

Files with missing lines Patch % Lines
.../scala/org/apache/comet/serde/QueryPlanSerde.scala 30.00% 0 Missing and 7 partials ⚠️
...cala/org/apache/comet/parquet/ParquetFilters.scala 25.00% 1 Missing and 2 partials ⚠️
...src/main/scala/org/apache/comet/serde/arrays.scala 0.00% 0 Missing and 2 partials ⚠️
...org/apache/comet/CometSparkSessionExtensions.scala 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1529      +/-   ##
============================================
+ Coverage     56.12%   58.64%   +2.51%     
- Complexity      976     1014      +38     
============================================
  Files           119      123       +4     
  Lines         11743    12247     +504     
  Branches       2251     2290      +39     
============================================
+ Hits           6591     7182     +591     
+ Misses         4012     3919      -93     
- Partials       1140     1146       +6     

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

case _ => false
}

protected def evalMode(c: Cast): CometEvalMode.Value =
Copy link
Contributor

Choose a reason for hiding this comment

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

(Optional) now evalMode can be a common method

| from tbl1 t1 join tbl2 t2 on t1._id = t2._id
| order by t1._id""".stripMargin)
}
// decimal support requires Spark 3.4 or later
Copy link
Contributor

Choose a reason for hiding this comment

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

nit we can remove this comment

/**
* This test suite contains tests for only Spark 3.4+.
*/
class CometExec3_4PlusSuite extends CometTestBase {
Copy link
Contributor

Choose a reason for hiding this comment

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

(optional) since Spark 3.4 is the lowest version, we may be able to move this into the regular test location

@kazuyukitanimura
Copy link
Contributor

cc @huaxingao you may be able to remove the some of the duplicated code for Iceberg after this PR

@andygrove
Copy link
Member Author

Thanks for the review @kazuyukitanimura

@andygrove andygrove merged commit be346c4 into apache:main Mar 14, 2025
68 checks passed
@andygrove andygrove deleted the drop-spark-3.3 branch March 14, 2025 19:40
coderfender pushed a commit to coderfender/datafusion-comet that referenced this pull request Dec 13, 2025
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.

Dropping Spark 3.3 support

3 participants