attu icon indicating copy to clipboard operation
attu copied to clipboard

vector向量值显示精度问题

Open min-min-min opened this issue 6 months ago • 0 comments

Describe the bug: 页面数据展示,向量字段精度丢失问题

Steps to reproduce:

  1. 在插入向量字段类型为FloatVector的值为 [0.01, 0.02, 0.03.......]
  2. 在页面显示为[0.009999999776482582,0.019999999552965164,0.029999999329447746,0.03999999910593033,0.05000000074505806,0.05999999865889549,0.07000000029802322,0.07999999821186066,0.09000000357627869,0.10000000149011612,0.10999999940395355,0.11999999731779099,0.12999999523162842,0.14000000059604645,0.15000000596046448,0.1599999964237213,0.17000000178813934,0.18000000715255737,0.1899999976158142,0.20000000298023224,0.20999999344348907,0.2199999988079071,0.23000000417232513,0.23999999463558197,0.25,0.25999999046325684,0.27000001072883606,0.2800000011920929]。丢失了精度
  3. 但是在代码中查询返回正常的值和精度 [0.01, 0.02, 0.03.......]

Attu version: 2.6.0

Attu version:

min-min-min avatar Aug 21 '25 07:08 min-min-min