Skip to content

[core] Optimize error message when creating PK table with row-tracking enabled #7679

Merged
JingsongLi merged 1 commit into
apache:masterfrom
XiaoHongbo-Hope:row_tracking_validate_fix
Apr 21, 2026
Merged

[core] Optimize error message when creating PK table with row-tracking enabled #7679
JingsongLi merged 1 commit into
apache:masterfrom
XiaoHongbo-Hope:row_tracking_validate_fix

Conversation

@XiaoHongbo-Hope
Copy link
Copy Markdown
Contributor

Purpose

When creating a PK table with row-tracking.enabled=true with setting bucket = -2,
the error reports "Cannot define bucket for row tracking table, it only support
bucket = -1" instead of "Cannot define primary-key for row tracking table". Which will make user confused. This PR optimize the error message.

Tests

@JingsongLi
Copy link
Copy Markdown
Contributor

+1

@JingsongLi JingsongLi merged commit 6ed44fe into apache:master Apr 21, 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