Merge pull request #742 from metamx/fix-ingest-segment

fix #732
This commit is contained in:
fjy 2014-09-16 10:44:15 -06:00
commit 32942def76
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }