Skip to content

[core] Fix chain table sequence field validation#7939

Merged
JingsongLi merged 1 commit into
apache:masterfrom
QuakeWang:chain-seq-required
May 23, 2026
Merged

[core] Fix chain table sequence field validation#7939
JingsongLi merged 1 commit into
apache:masterfrom
QuakeWang:chain-seq-required

Conversation

@QuakeWang
Copy link
Copy Markdown
Contributor

Purpose

CoreOptions.sequenceField() returns an empty list when sequence.field is not configured, but chain table validation only checked it against null.

This allowed tables with 'chain-table.enabled' = 'true' to pass schema validation without sequence.field, while chain table requires sequence semantics.

Tests

  • mvn -pl paimon-core -Pfast-build -Dtest=SchemaValidationTest test

Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
Copy link
Copy Markdown
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

+1

@JingsongLi JingsongLi merged commit 8916b60 into apache:master May 23, 2026
12 checks passed
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