Open MahendraAkkina opened 1 month ago
@bharath-techie Is this option available now (or is there a work around to achieve this) or you are just suggesting enhancing the support by adding an option to skip?
This is kind of a show stopper for us. Any thoughts from anyone?
What is the bug? In the transforms job, the min, max, avg aggregations on a missing field is resulting in -Infinity, Infinity, NaN. Also value_count and sum results in 0.
The issue is - the target index is being populated with the new fields with such values (along with making some of the fields mapping set to TEXT). It behaves better with setting “missing”: 0 for numeric fields in the agg function but it’s not ideal as it misrepresents the data.
What I really want is for the missing fields based fields not to be in target index at all for those documents. Is there a way to accomplish this? This is kind of a show stopper the default behavior will not work and using missing misrepresents the data.
How can one reproduce the bug? Steps to reproduce the behavior: Here is an example: Transform job:
In the target index, you can see m3 related fields showing up a certain way when m3 is missing in the time interval.
What is the expected behavior? Not generate any of the m3* fields in such cases.
What is your host/environment? v2.11