apache/fluss-rust

Schema validations to match Java

Open

#324 opened on Feb 14, 2026

 (4 comments) (0 reactions) (1 assignee)Rust (48 forks)auto 404
good first issue

Repository metrics

Stars
 (54 stars)
PR merge metrics
 (PR metrics pending)

Description

Search before asking

  • I searched in the issues and found nothing similar.

Description

Add missing schema validations in SchemaBuilder::build() to match Java's Schema.normalizeColumns():

  • reject duplicate PK columns
  • require auto-increment columns to be INT/BIGINT and not part of the primary key
  • require a primary key when auto-increment is used
  • reject empty/whitespace column names and constraint names
  • etc that makes sense in the current state

Willingness to contribute

  • I'm willing to submit a PR!

Contributor guide