[Lens] Terms aggregation keeps the numeric formatter for non-numeric data #82771
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Lens
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
This is a bug on master and 7.10. The user-facing effect of the bug is that labels for their data might not be correct.
Steps to reproduce:
The main source of this bug is that the state of the
terms
aggregation is not being fully updated when the field is switched. If the initial field is anumber
, the terms aggregation will report that it is always a number. So the solution is to write a more completeonFieldChange
function for the Terms aggregation.This PR might have merge conflicts due to my work on #82550, so I will work on both. If needed this will end up as two PRs.
The text was updated successfully, but these errors were encountered: