Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Point Long type precision loss #87

Open
daizhanchao opened this issue Jul 26, 2023 · 4 comments · Fixed by qdrant/openapi-typescript-fetch#10
Open

UI Point Long type precision loss #87

daizhanchao opened this issue Jul 26, 2023 · 4 comments · Fixed by qdrant/openapi-typescript-fetch#10
Labels
bug Something isn't working

Comments

@daizhanchao
Copy link

image
Long类型精度丢失

@daizhanchao daizhanchao added the bug Something isn't working label Jul 26, 2023
@timvisee
Copy link
Member

timvisee commented Jul 26, 2023

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 timvisee transferred this issue from qdrant/qdrant Jul 26, 2023
@daizhanchao
Copy link
Author

Thank you .

@Rendez
Copy link

Rendez commented Feb 21, 2024

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:
qdrant/qdrant-js#62

@qdrant qdrant deleted a comment from daizhanchao Feb 21, 2024
@timvisee
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants