mirror of https://github.com/apache/druid.git
parent
a73670ee7b
commit
f006de8639
|
@ -177,7 +177,7 @@ public class IngestSegmentFirehoseFactory implements FirehoseFactory<InputRowPar
|
||||||
} else {
|
} else {
|
||||||
Set<String> metricsSet = new HashSet<>();
|
Set<String> metricsSet = new HashSet<>();
|
||||||
for (TimelineObjectHolder<String, DataSegment> timelineObjectHolder : timeLineSegments) {
|
for (TimelineObjectHolder<String, DataSegment> timelineObjectHolder : timeLineSegments) {
|
||||||
metricsSet.addAll(timelineObjectHolder.getObject().getChunk(0).getObject().getDimensions());
|
metricsSet.addAll(timelineObjectHolder.getObject().getChunk(0).getObject().getMetrics());
|
||||||
}
|
}
|
||||||
metricsList = Lists.newArrayList(metricsSet);
|
metricsList = Lists.newArrayList(metricsSet);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue