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

JoinDataFrames: Keep field name if possible #69289

Merged
merged 3 commits into from May 31, 2023
Merged

JoinDataFrames: Keep field name if possible #69289

merged 3 commits into from May 31, 2023

Conversation

ryantxu
Copy link
Member

@ryantxu ryantxu commented May 30, 2023

Fixes #69207 (though there may be additional issues)

When joining data using the legacy "Time/Value" fields where the name exists on the series, this PR updates the logic so that the series name is moved to the field name rather than sending it into labels.

This will make the names consistent between the first and second renders (why there are two renders is still another question!)

@ryantxu ryantxu added area/transformations no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes labels May 30, 2023
@ryantxu ryantxu added this to the 10.1.x milestone May 30, 2023
@ryantxu ryantxu removed the no-changelog Skip including change in changelog/release notes label May 30, 2023
@leeoniya leeoniya self-requested a review May 31, 2023 01:11
Copy link
Contributor

@leeoniya leeoniya left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@ryantxu ryantxu marked this pull request as ready for review May 31, 2023 01:23
@ryantxu ryantxu requested review from a team as code owners May 31, 2023 01:23
@ryantxu ryantxu requested review from joshhunt, ashharrison90 and mckn and removed request for a team May 31, 2023 01:23
Copy link
Contributor

@mckn mckn left a comment

Choose a reason for hiding this comment

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

LGTM!

@leeoniya leeoniya changed the title Join: Keep field name if possible JoinDataFrames: Keep field name if possible May 31, 2023
@leeoniya leeoniya merged commit 3647392 into main May 31, 2023
19 checks passed
@leeoniya leeoniya deleted the join-keep-name branch May 31, 2023 14:46
@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeseries: change of series name on refresh from s1 to {name="s1"}
5 participants