-
Notifications
You must be signed in to change notification settings - Fork 487
Milestone
Description
Search before asking
- I searched in the 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!
Metadata
Metadata
Assignees
Labels
No labels