I modified the daily ingestion task for an existing data source adding a hypeUnique metric. The metric has been collected for the past few days.
When I aggregate the metric for the date segments in which it exists, things work as expected. However, when I aggregate it for the date segments in which the metric doesn’t exist, the following exception occurs:
“error”: “Unknown exception”,
“errorMessage”: “com.fasterxml.jackson.databind.JsonMappingException: Unexpected end-of-input in START_OBJECT\n at [Source: java.io.SequenceInputStream@65451cb1; line: -1, column: 87] (through reference chain: java.util.ArrayList)”,
I was under the impression that it would not be an issue to support newly introduced metrics, aka return zero over aggregations for the segments over which the metric doesn’t exist.
I have gotten around the problem by using a filtered aggregator, but the solution smells. What is the proper way to do it?
Thanks in advance for any help.