jackylee-ch opened a new pull request, #684: URL: https://github.com/apache/paimon-rust/pull/684
`table-read.sequence-number.enabled` was accepted on tables without primary keys. The sequence number lives in the merge key, so an append table has no such column: the read path injects a field id no data file carries and the column comes back entirely NULL instead of raising. **Fix**: validate at create and alter time, mirroring Java `SchemaValidation#validateChangelogReadSequenceNumber`. Only `true` is rejected, so an append table may still set it to `false` explicitly. The option key moves to `core_options.rs` because `spec` does not depend on `table`; the two existing literals are left alone. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
