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

Enhance Data Prepper Expression Numeric Support #1109

Open
sbayer55 opened this issue Feb 28, 2022 · 0 comments
Open

Enhance Data Prepper Expression Numeric Support #1109

sbayer55 opened this issue Feb 28, 2022 · 0 comments
Labels
backlog enhancement New feature or request

Comments

@sbayer55
Copy link
Member

Is your feature request related to a problem? Please describe.
Data Prepper Expressions today have limited support for precise floating point operations.

Examples of expressions that give unexpected results:

2000000000 == 2000000000.1
0.1 == 0.10000000000001

Describe the solution you'd like

  • Added support for a tolerance value in floating point operations.
  • Add Double support
  • Add Long support

Describe alternatives you've considered (Optional)
n/a

Additional context
n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants