close
Skip to content

[Feature][Connectors-v2]Paimon version upgrade to 1.1.1#8074

Merged
corgy-w merged 4 commits into
apache:devfrom
hawk9821:paimon_version_upgrade
Aug 1, 2025
Merged

[Feature][Connectors-v2]Paimon version upgrade to 1.1.1#8074
corgy-w merged 4 commits into
apache:devfrom
hawk9821:paimon_version_upgrade

Conversation

@hawk9821

@hawk9821 hawk9821 commented Nov 17, 2024

Copy link
Copy Markdown
Contributor

Purpose of this pull request

The current dependency is set to 0.7.0-incubating, which is an incubating release of Apache Paimon, It is necessary to upgrade to the stable version 1.1.1.

Does this PR introduce any user-facing change?

How was this patch tested?

PaimonSinkDynamicBucketIT#testParallelismWrite

Check list

Comment thread docs/zh/connector-v2/sink/Paimon.md Outdated
@hawk9821 hawk9821 force-pushed the paimon_version_upgrade branch 2 times, most recently from 0292734 to 853960f Compare November 19, 2024 09:35
@hawk9821 hawk9821 force-pushed the paimon_version_upgrade branch 3 times, most recently from 5fa7e4e to 690c856 Compare November 30, 2024 16:20
@dailai

dailai commented Dec 2, 2024

Copy link
Copy Markdown
Contributor

I think we should keep the default behavior of seatunnel when writing to paimon which is that we still used fixed buckets and the default number of buckets is 1, and we should also mark dynamic buckets as experimental properties.

@hawk9821 hawk9821 force-pushed the paimon_version_upgrade branch 5 times, most recently from 060fd30 to 9c5377f Compare February 12, 2025 03:12
@hawk9821 hawk9821 changed the title [Feature][Connectors-v2]Paimon version upgrade to 0.8.2 [Feature][Connectors-v2]Paimon version upgrade to 1.0.1 Feb 12, 2025
.forEach(field -> builder.column(field.name(), field.type(), field.description()));
builder.options(schema.options());
Map<String, String> options = new HashMap<>(schema.options());
options.remove(CoreOptions.PATH.key());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please add a comment of why remove this?

@hawk9821 hawk9821 Feb 13, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The paimon interface has changed in the new version. it will throw exception when not remove

java.lang.UnsupportedOperationException: The current catalog FileSystemCatalog does not support specifying the table path when creating a table.
	at org.apache.paimon.catalog.AbstractCatalog.validateCustomTablePath(AbstractCatalog.java:582)
	at org.apache.paimon.catalog.AbstractCatalog.createTable(AbstractCatalog.java:285)
	at org.apache.paimon.catalog.DelegateCatalog.createTable(DelegateCatalog.java:106)

this.newTableWrite();
BucketMode bucketMode = this.paimonFileStoretable.bucketMode();
this.dynamicBucket =
BucketMode.DYNAMIC == bucketMode || BucketMode.GLOBAL_DYNAMIC == bucketMode;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why remove GLOBAL_DYNAMIC?

@hawk9821 hawk9821 Feb 13, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The paimon interface has changed in the new version

public enum BucketMode {
    HASH_FIXED,
    HASH_DYNAMIC,
    CROSS_PARTITION,
    BUCKET_UNAWARE;
    ...
    }

@hawk9821 hawk9821 force-pushed the paimon_version_upgrade branch from a6c0a80 to c284d30 Compare February 18, 2025 07:49
@hawk9821 hawk9821 force-pushed the paimon_version_upgrade branch from c284d30 to 466ae0a Compare July 10, 2025 09:50
@hawk9821 hawk9821 force-pushed the paimon_version_upgrade branch from 466ae0a to 97dbe2a Compare July 18, 2025 10:24
@hawk9821 hawk9821 changed the title [Feature][Connectors-v2]Paimon version upgrade to 1.0.1 [Feature][Connectors-v2]Paimon version upgrade to 1.1.1 Jul 18, 2025
@hawk9821 hawk9821 force-pushed the paimon_version_upgrade branch 3 times, most recently from dbd51bd to 85a4f65 Compare July 24, 2025 15:08
@hawk9821 hawk9821 force-pushed the paimon_version_upgrade branch from 87644b3 to ac8ae4f Compare July 31, 2025 11:35
@hawk9821 hawk9821 force-pushed the paimon_version_upgrade branch from ac8ae4f to d32128d Compare July 31, 2025 16:47
@corgy-w corgy-w merged commit 96b26a6 into apache:dev Aug 1, 2025
6 checks passed
@hawk9821 hawk9821 deleted the paimon_version_upgrade branch August 9, 2025 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants