apache/fluss-rust

Schema validations to match Java

オープン

#324 opened on 2026/02/14

 (4 件のコメント) (0 件のリアクション) (1 人の担当者)Rust (48 件のフォーク)auto 404
good first issue

Repository metrics

Stars
 (54 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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!

コントリビューターガイド