metastore
metastore copied to clipboard
Compat: Enum <> Numeric schema evolution
Field type change enum with int32, uint32, int64, and uint64 enum is compatible with int32, uint32, int64, and uint64 in terms of wire format (note that values will be truncated if they don't fit). However be aware that client code may treat them differently when the message is deserialized: for example, unrecognized proto3 enum types will be preserved in the message, but how this is represented when the message is deserialized is language-dependent. Int fields always just preserve their value.