apache/fluss-rust

Schema validations to match Java

開放

#324 建立於 2026年2月14日

 (4 則留言) (0 個反應) (1 位負責人)Rust (48 個分叉)auto 404
good first issue

倉庫指標

星標
 (54 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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!

貢獻者指南