opensearch-project / opensearch-project/data-prepper
Enhance Data Prepper Expression Numeric Support
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 374
- Forks
- 354
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not identify files, tests, or an expression entry point. Start by locating the Data Prepper Expressions implementation and its numeric-operation tests, then use the listed comparisons to define tolerance behavior and Double and Long support; done means these cases have precise, documented, and tested results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100