Skip to content

Initial support Spark 4.1 - #7254

Closed
pan3793 wants to merge 14 commits into
apache:masterfrom
pan3793:spark-4.1
Closed

Initial support Spark 4.1#7254
pan3793 wants to merge 14 commits into
apache:masterfrom
pan3793:spark-4.1

Conversation

@pan3793

@pan3793pan3793 commented Nov 24, 2025

Copy link
Copy Markdown
Member

Why are the changes needed?

  • Engine - passes compile and all UTs except for one case.
  • Server - passes all UTs and Spark engine integration tests.
  • Lineage plugin - passes compile and all UTs
  • AuthZ plugin - passes compile
  • TPC-H/TPC-DS connectors - passes compile and all UTs
  • KSHC - passes compile
  • Spark extension - TBD

Switch to Python 3.11 for Spark 4 in GHA, due to the support of Python 3.9 is EOL and dropped by Spark 4.1

How was this patch tested?

GHA.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actionsgithub-actionsBot added kind:infra license, community building, project builds, asf infra related, etc. kind:build labels Nov 24, 2025
@codecov-commenter

codecov-commenter commented Nov 24, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (f0e4c95) to head (716c3fb).
⚠️ Report is 1 commits behind head on master.

Files with missing linesPatch %Lines
...ubi/engine/spark/operation/PlanOnlyStatement.scala0.00%22 Missing ⚠️
...ala/org/apache/spark/kyuubi/SparkUtilsHelper.scala0.00%7 Missing ⚠️
...in/lineage/helper/SparkSQLLineageParseHelper.scala0.00%5 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## master #7254 +/- ##
======================================
Coverage 0.00% 0.00% ======================================
Files 697 697 Lines 43587 43610 +23 Branches 5893 5893 ======================================
- Misses 43587 43610 +23 

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment threadpom.xml
<profile>
<id>spark-4.1</id>
<modules>
<module>extensions/spark/kyuubi-spark-connector-hive</module>

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

it passes compile, but not test

}

test("arrow-based query metrics") {
// TODO: the issue is being investigated Fu Chen

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

cc @cfmcgrady, as we discussed, this seems to be a spark side bug

result = testPrematureExitForControlCli(logArgs, "")
assert(result.contains(s"Submitted application: $sparkBatchTestAppName"))
assert(result.contains("Shutdown hook called"))
assert(result.contains("Successfully stopped SparkContext"))

@pan3793pan3793Dec 16, 2025

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

SPARK-54259 demotes the log level of "Shutdown hook called" to debug

@pan3793pan3793 changed the title Test with Spark 4.1 preview4Initial support Spark 4.1Dec 16, 2025
@pan3793
pan3793 marked this pull request as ready for review December 16, 2025 15:39
@github-actionsgithub-actionsBot added kind:documentation Documentation is a feature! module:authz labels Dec 16, 2025
…uubi/engine/spark/operation/SparkArrowbasedOperationSuite.scala
Co-authored-by: Cheng Pan <chengpan@apache.org>
@pan3793pan3793 self-assigned this Dec 17, 2025
@pan3793pan3793 added this to the v1.11.0 milestone Dec 17, 2025
@pan3793

Copy link
Copy Markdown
MemberAuthor

thanks, merged to master!

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

Labels

kind:buildkind:documentationDocumentation is a feature!kind:infralicense, community building, project builds, asf infra related, etc.module:authzmodule:extensionsmodule:servermodule:spark

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@pan3793@codecov-commenter@cxzl25@turboFei