Skip to content

Bump Trino to 481 and Paimon to 1.4.1#125

Open
hhhizzz wants to merge 4 commits into
apache:mainfrom
hhhizzz:main
Open

Bump Trino to 481 and Paimon to 1.4.1#125
hhhizzz wants to merge 4 commits into
apache:mainfrom
hhhizzz:main

Conversation

@hhhizzz
Copy link
Copy Markdown

@hhhizzz hhhizzz commented May 18, 2026

Summary

Bump the connector to Trino 481 and Paimon 1.4.1.

This also updates the connector code for Trino 481 SPI changes and Paimon 1.4.1 API changes, and fixes packaging/runtime compatibility issues found while testing Paimon table queries with Trino 481.

Changes

  • Upgrade Paimon dependencies to 1.4.1.
  • Adapt to Trino 481 connector SPI changes:
    • return SourcePage from page sources
    • implement connector shutdown hook
    • update NodeVersion and filesystem module wiring
    • adjust API usage affected by Trino 481 signature changes
  • Adapt catalog and row handling for Paimon 1.4.1 APIs.
  • Normalize Paimon table option property names to lower case before passing them to Paimon, fixing options such as variant.shreddingSchema.
  • Update plugin packaging:
    • copy Trino HDFS dependencies as jars for Trino 481
    • include required Hive compatibility jars used by metastore/catalog paths
  • Add focused tests for:
    • Trino 481 page source compatibility
    • Paimon table option normalization
  • Do not include repo-local Maven settings under .mvn.

Testing

mvn -Dtrino.version=481 -Dtest=TrinoPageSourceTest,TrinoTableOptionUtilsTest test

Result:

Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
BUILD SUCCESS
mvn -Dtrino.version=481 -DskipTests package

Result:

BUILD SUCCESS

Also validated the built plugin with Trino 481 against existing Paimon tables using count, grouped aggregation, CTE/join, window function, and self-join queries.

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