Skip to content

Remove unsupported Spark 3.4 build profile - #1343

Open
Chandanydv1234 wants to merge 1 commit into
zinggAI:mainfrom
Chandanydv1234:remove-spark-3.4-profile
Open

Remove unsupported Spark 3.4 build profile#1343
Chandanydv1234 wants to merge 1 commit into
zinggAI:mainfrom
Chandanydv1234:remove-spark-3.4-profile

Conversation

@Chandanydv1234

Copy link
Copy Markdown
Contributor

What

Removes the spark-3.4 Maven profile from the root pom.xml.

Why

The codebase calls Encoders.row(StructType), which was introduced in Spark 3.5. Building with -Dspark=3.4 therefore fails to compile — the profile has been effectively dead. Leaving it in pom.xml advertises support that doesn't exist and costs time for anyone who tries the 3.4 build.

Effect

  • Default build (Spark 3.5) is unchanged.
  • -Dspark=3.4 no longer matches a profile and falls back to the default 3.5 build.

Testing

  • mvn -DskipTests clean package (Spark 3.5) builds successfully.
  • No remaining references to the 3.4 profile anywhere (CI workflows, scripts, Dockerfile, docs).

The codebase uses Encoders.row(StructType), which only exists in
Spark 3.5+, so the spark-3.4 profile could never compile. Remove the
dead profile so the build only advertises the Spark version it
actually supports.
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.

2 participants