Get desktop application:
View/edit binary Protocol Buffers messages
Stored in the user defined metadata for KeyType::COLUMN_STATS
This version number refers to the format of this header structure. Increment the version number if the meaning of the fields changes, to help older clients avoid mis-interpreting data written by newer clients.
key = data_col_offset (offset in to TimeseriesDescriptor#fields_ in the Index key)
end of fields in version 1
Used in:
Older clients reading a new enum value written by a newer client will decode to this first element, so make sure they don't mis-interpret it as a statistic they understand. https://protobuf.dev/best-practices/dos-donts/#unspecified-enum
The version numbers here refer to the format of a given statistic. For example we might start off saving string min and max truncated to 8 bytes in a uint64_t, and later change to saving it truncated to a different length. That would necessitate a MIN_V2 so that old readers do not misinterpret the new statistics format.
Used in:
offset in to fields in the KeyType::COLUMN_STATS's StreamDescriptor
Used in: