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] fix handling of nested maps within slices in flatten function #36204

Merged

Conversation

bacherfl
Copy link
Contributor

@bacherfl bacherfl commented Nov 5, 2024

Description

This PR fixes the behavior of the flatten function to also modify nested objects within slices. Currently WIP, as #36198 should be merged first to avoid too many conflicts

Link to tracking issue

Fixes #36162

Testing

Added unit test and adapted e2e tests

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
# Conflicts:
#	pkg/ottl/ottlfuncs/func_flatten.go
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@bacherfl bacherfl marked this pull request as ready for review November 19, 2024 11:55
@bacherfl bacherfl requested a review from a team as a code owner November 19, 2024 11:55
Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, sorry for the long delay with a review.

Copy link
Contributor

github-actions bot commented Jan 7, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jan 7, 2025
@bacherfl bacherfl removed the Stale label Jan 7, 2025
@TylerHelmuth TylerHelmuth added the ready to merge Code review completed; ready to merge by maintainers label Jan 7, 2025
@evan-bradley evan-bradley merged commit 04d7a69 into open-telemetry:main Jan 7, 2025
180 checks passed
@github-actions github-actions bot added this to the next release milestone Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg/ottl ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[pkg/ottl] unexpected behavior of flatten function for slices containing nested objects
4 participants