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!

贡献者指南