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

Precision loss during JSON Parsing #9579

Open
succw opened this issue Nov 12, 2024 · 0 comments
Open

Precision loss during JSON Parsing #9579

succw opened this issue Nov 12, 2024 · 0 comments

Comments

@succw
Copy link

succw commented Nov 12, 2024

When Fluent Bit processes JSON data, floating-point precision can be lost due to automatic rounding.

For example, data before parsing might look like:
{"points":[1046.8333333333335, 1119.0714285714287]}

But after parsing, it may become:
{"points":[1046.833333333333, 1119.071428571429]}

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

No branches or pull requests

1 participant