mirror of https://github.com/apache/druid.git
adding comments to explain merge failure in segmentMetadata query
This commit is contained in:
parent
c88c39e1d7
commit
e1631967e3
|
@ -149,6 +149,8 @@ public class SegmentMetadataQueryQueryToolChest extends QueryToolChest<SegmentAn
|
|||
|
||||
List<Interval> newIntervals = null;
|
||||
if (query.hasInterval()) {
|
||||
//List returned by arg1.getIntervals() is immutable, so a new list needs to
|
||||
//be created.
|
||||
newIntervals = new ArrayList<>(arg1.getIntervals());
|
||||
newIntervals.addAll(arg2.getIntervals());
|
||||
}
|
||||
|
|
|
@ -164,7 +164,7 @@ public class SegmentMetadataQueryTest
|
|||
testQuery,
|
||||
Maps.newHashMap()
|
||||
),
|
||||
"failed SegmentMetadata bySegment query"
|
||||
"failed SegmentMetadata merging query"
|
||||
);
|
||||
exec.shutdownNow();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue