Trait tidb_query_datatype::codec::data_type::ChunkedVec [−][src]
Notes
Make sure operating bitmap
and value
together, so while bitmap
is 0 and the
corresponding value is None.
With this guaranty, we can avoid the following issue:
For Data [Some(1), Some(2), None], we could have different stored representation:
Bitmap: 110, Value: 1, 2, 0 Bitmap: 110, Value: 1, 2, 1 Bitmap: 110, Value: 1, 2, 3
PartialEq
between Value
’s result could be wrong.