Skip to content

[9.0] [ES|QL] [Lens] Display a keyword with the correct format in a metric visualization (#218233)#218934

Merged
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-218233
Apr 23, 2025
Merged

[9.0] [ES|QL] [Lens] Display a keyword with the correct format in a metric visualization (#218233)#218934
kibanamachine merged 1 commit intoelastic:9.0from
kibanamachine:backport/9.0/pr-218233

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

…visualization (elastic#218233)

## Summary

Fix elastic#203526

- Example 1: Before the fix, the value was formatted as a number
(screenshot 1). After the fix, the value remains a string (screenshot
2).

<img width="1506" alt="Screenshot 2025-04-15 at 1 26 26 PM"
src="https://github.com/user-attachments/assets/74da3971-b4df-4602-a477-5f83ddade521"
/>
<img width="1495" alt="Screenshot 2025-04-15 at 1 29 37 PM"
src="https://github.com/user-attachments/assets/6c0cb412-95c0-47de-9765-4c3eae4e2fa8"
/>

- Example 2: Before the fix (screenshot 3) and after the fix (screenshot
4)
<img width="862" alt="Screenshot 2025-04-16 at 2 18 23 PM"
src="https://github.com/user-attachments/assets/9eafe58f-edd7-43d6-97d1-2638f2f3e906"
/>
<img width="849" alt="Screenshot 2025-04-16 at 2 17 26 PM"
src="https://github.com/user-attachments/assets/5a912305-22c2-43b2-a3b8-a412310785a7"
/>

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 3c09bc4)
@kibanamachine kibanamachine merged commit 1e1a0e7 into elastic:9.0 Apr 23, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

2 participants