congqixia f108ce0fc5
fix: [2.4] Match int8_t and int16_t in Array::get_data (#35579) (#35597)
Cherry-pick from master
pr: #35579
Related to #35578

Previously int16/int8 bitmap index may read int32 array as int16, which
may cause build index with half of the data(if array is full) and half
zeros. This causes BITMAP index lost information.

This PR matches int8_t & int16_t while `get_data` when building index.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-08-21 17:47:01 +08:00
..
2021-11-16 15:41:11 +08:00