greptimedb icon indicating copy to clipboard operation
greptimedb copied to clipboard

Remove version field from the `Schema` struct

Open evenyag opened this issue 3 years ago • 0 comments

What type of enhancement is this?

Refactor

What does the enhancement do?

Discussed in https://github.com/GreptimeTeam/greptimedb/discussions/349

Originally posted by evenyag October 25, 2022 Now we have RegionSchema and TableInfo that could hold the version field, so we might be able to remove the version field from the Schema struct. Since some schemas might not have version info.

Implementation challenges

We need to refactor all tests that call the SchemaBuilder::version API.

evenyag avatar Nov 30 '22 07:11 evenyag