Skip to content

[rust] Validate nested ROW field names - #4209

Merged
fresh-borzoni merged 3 commits into
apache:mainfrom
naivedogger:feature/validate-row-field-names
Sep 17, 2026
Merged

fresh-borzoni merged 3 commits into
apache:mainfrom
naivedogger:feature/validate-row-field-names

Conversation

@naivedogger

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #4208

Brief change log

Tests

API and Format

Documentation

@naivedogger

Copy link
Copy Markdown
Contributor Author

@beryllw @fresh-borzoni, could you please take a look when you have a chance? Thanks!

@fresh-borzoni fresh-borzoni left a comment

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.

@naivedogger Thank you for the PR, left minor comment, PTAL

Comment thread fluss-rust/crates/fluss/src/metadata/table.rs
@naivedogger

Copy link
Copy Markdown
Contributor Author

@fresh-borzoni Thanks for catching this! I agree that blank top-level column names should also be rejected to keep consistent with the Java server. I’ve added the validation and tests. PTAL.

@fresh-borzoni fresh-borzoni left a comment

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.

@naivedogger Thank you, LGTM 👍

backport?

@fresh-borzoni
fresh-borzoni merged commit 7e28c96 into apache:main Sep 17, 2026
21 checks passed
fresh-borzoni pushed a commit that referenced this pull request Sep 17, 2026
* [rust] Validate nested ROW field names

* [rust] Centralize ROW field name validation

* [rust] Reject blank table column names

(cherry picked from commit 7e28c96)
yangshangqing95 pushed a commit to yangshangqing95/fluss that referenced this pull request Sep 28, 2026
* [rust] Validate nested ROW field names

* [rust] Centralize ROW field name validation

* [rust] Reject blank table column names
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.

[Rust] SchemaBuilder accepts blank or duplicate nested ROW field names

2 participants