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

[pkg/ottl] add ability to compare maps #38611

Merged
merged 3 commits into from
Mar 13, 2025

Conversation

TylerHelmuth
Copy link
Member

Description

I realized today we don't have the ability to compare maps. So a condition like attributes == attributes returns false. This PR adds the ability to compare maps/pcommon.Maps.

Testing

manual testing and unit tests

Documentation

updated docs

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@evan-bradley evan-bradley merged commit 302eae3 into open-telemetry:main Mar 13, 2025
171 checks passed
@github-actions github-actions bot added this to the next release milestone Mar 13, 2025
@TylerHelmuth TylerHelmuth deleted the ottl.map-comparison branch March 13, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants