Skip to content

[Feature][Shade] 3.0.0-fix — add calcite, upgrade janino, align scala with Spark - #12

Merged
hawk9821 merged 2 commits into
apache:mainfrom
hawk9821:3.0.0-fix
Jun 24, 2026
Merged

[Feature][Shade] 3.0.0-fix — add calcite, upgrade janino, align scala with Spark#12
hawk9821 merged 2 commits into
apache:mainfrom
hawk9821:3.0.0-fix

Conversation

@hawk9821

Copy link
Copy Markdown
Contributor

Summary

This PR publishes updated shade artifacts to align with two upstream SeaTunnel PRs that have been merged into apache/seatunnel.

Upstream PRs

PR Title Merged
apache/seatunnel#11062 [Feature][Transform-V2] Add Calcite SQL transform plugin 2026-06-20
apache/seatunnel#11117 [Fix][Transform-V2] Align Scala compiler with Spark Scala version 2026-06-22

Changes

Root pom.xml:

  • Add seatunnel-shade-calcite module
  • Upgrade janino: 3.0.113.1.12
  • Downgrade scala-compiler: 2.13.112.12.15 (binary: 2.132.12)
  • Add calcite.version property (1.38.0)

New module: seatunnel-shade-calcite

Shades Apache Calcite 1.38.0 under org.apache.seatunnel.shade.*, relocating calcite-core and its transitive dependencies (avatica, janino, commons-codec, json-path, guava, checkerframework, etc.). Jackson and SLF4J are excluded since they are shaded separately.

README.md

Add project documentation covering module overview, build commands, partial release workflow, and post-release steps for the SeaTunnel project.

Rationale

  • Calcite 1.38.0 — Required by the new Calcite SQL transform plugin (#11062) for standard SQL capabilities (SELECT, WHERE, CASE WHEN, UDFs, JSON extraction).
  • Janino 3.1.12 — Calcite 1.38.0 depends on a newer janino version; the independent shade module is upgraded accordingly.
  • Scala 2.12.15 — The scala-compiler was pinned to 2.13, but SeaTunnel's root build and Spark modules use 2.12, causing Scala signature version mismatch errors at runtime (#11117).

Verification

# Local build (skip GPG)
mvn -B -DskipTests -Drat.skip=true -Dgpg.skip=true \
  -pl seatunnel-shade-calcite,seatunnel-shade-janino,seatunnel-shade-scala-compiler \
  clean install

# Deploy to Apache repository
mvn -B -DskipTests -Drat.skip=true \
  -pl seatunnel-shade-calcite,seatunnel-shade-janino,seatunnel-shade-scala-compiler \
  clean deploy

@hawk9821
hawk9821 merged commit 95c47a3 into apache:main Jun 24, 2026
@hawk9821
hawk9821 deleted the 3.0.0-fix branch June 24, 2026 07:47
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.

1 participant