qdrant-web-ui icon indicating copy to clipboard operation
qdrant-web-ui copied to clipboard

UI Point Long type precision loss

Open daizhanchao opened this issue 2 years ago • 4 comments

image Long类型精度丢失

daizhanchao avatar Jul 26 '23 07:07 daizhanchao

Thank you for the report!

I guess this may be caused by JavaScripts limited integer support, as they only have 52 bits instead of 64. It just cuts off the last numbers.

Since this is a visual problem in the web UI, I've moved your issue to its repository.

timvisee avatar Jul 26 '23 07:07 timvisee

Thank you .

daizhanchao avatar Jul 26 '23 07:07 daizhanchao

Hey @daizhanchao, re-installing qdrant-js will bring about the latest version of the dependency that fixes it.

We're also preparing a release for qdrant-js (rest client) itself that will pin this dependency to 1.2.5 with the fix + introduce bigint types where relevant according to the Qdrant Open Api Schema. Please follow for more: https://github.com/qdrant/qdrant-js/pull/62

Rendez avatar Feb 21 '24 19:02 Rendez

We should probably keep this open until the web UI itself uses this new version instead.

timvisee avatar Feb 22 '24 09:02 timvisee