wuchong opened a new issue, #2344: URL: https://github.com/apache/fluss/issues/2344
### Search before asking - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar. ### Description Currently, `SchemaUpdate` maintains schema members (primary keys, columns, auto-incr fields), which is very error-prone, leading to missing schema members when we evolve the schema structure and resulting in a broken schema after schema evolution. I suggest to directly maintain `Schema.Builder` in `SchemaUpdate` and delegating all schema changes to `Schema.Builder`. This help us to only maintain one logic of schema building and validation. 降低出问题的可能性。 Besides, the `Schema.Builder#fromSchema` should also be updated if needed. ### Willingness to contribute - [ ] I'm willing to submit a PR! -- 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]
