apache/fluss-rust

Schema validations to match Java

Aberta

#324 aberto em 14 de fev. de 2026

 (4 comentários) (0 reação) (1 responsável)Rust (48 forks)auto 404
good first issue

Métricas do repositório

Stars
 (54 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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!

Guia do colaborador