-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[pkg/ottl] Add IsNaN Converter #28591
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I will work on this one! (Contribfest) |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@bryan-aguilar can you remind me of the situation you experienced that requires this function? |
Closing for now. If anyone can come up with a way to produce |
Component(s)
pkg/ottl
Is your feature request related to a problem? Please describe.
OTTL has no way to check if a double value is
NaN
. https://pkg.go.dev/math#IsNaNDescribe the solution you'd like
Add a new Converter, IsNaN that returns true if the given value is NaN. It should return false if the value is not a double.
The implementing PR should
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: