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

about i64,u64 Maximum problem #3621

Open
yangshike opened this issue Jul 11, 2023 · 9 comments
Open

about i64,u64 Maximum problem #3621

yangshike opened this issue Jul 11, 2023 · 9 comments
Labels
documentation Improvements or additions to documentation

Comments

@yangshike
Copy link
Contributor

I have one number: 1678363872408121344

When I set the field to u64 and save it to quickwit, it becomes 1678363872408121300

How should I set this field property correctly

@yangshike yangshike added the documentation Improvements or additions to documentation label Jul 11, 2023
@fulmicoton
Copy link
Contributor

fulmicoton commented Jul 11, 2023

Your ticket is incomplete. What do you mean exactly by "it becomes"?
How do you consume that value?

Is it aggregation?

@yangshike
Copy link
Contributor Author

The last two digits have become 0, as if they have been truncated. It looks like it has exceeded the maximum supported value

@fulmicoton
Copy link
Contributor

@yangshike This is not my question. Where do you see the values? Is it in the stored docs? Is it when you search for the values? Is it when you run an aggregation?

Even better: can you provide code to reproduce?

@yangshike
Copy link
Contributor Author

yangshike commented Jul 11, 2023

in kafka source: {"fastId":1678358612977389568}
this is my quickwit config:
- name: fastId
type: u64
fast: true
indexed: true
Through quickwit ui:

I saw the fastId change to:
"fastId": 1678358612977389600

568 in the last three places becomes 600

@fulmicoton
Copy link
Contributor

fulmicoton commented Jul 11, 2023

How do you get the query ? Is it an aggregation? We do cast all nums to f64 in aggregation .

If so can you send the specific type of aggreg you would like to see fixed?

@PSeitz
Copy link
Contributor

PSeitz commented Jul 11, 2023

Wasn't there an ui rendering issue for very large numbers? @fmassot

@yangshike
Copy link
Contributor Author

I searched through the UI and it should be a collection. I just tried it out and found it through fastId: 1678358612977389568

Can search for this record, but when displayed on the UI, it shows 1678358612977389600

If it's just for display reasons, then this is not a problem

@fmassot
Copy link
Contributor

fmassot commented Jul 11, 2023

@PSeitz I think so indeed.

@yangshike I think this is related to this issue #2013

@yangshike
Copy link
Contributor Author

Okay, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants