mirror of https://github.com/apache/druid.git
Merge pull request #2131 from himanshug/add_comment
adding comments to explain merge failure in segmentMetadata query
This commit is contained in:
commit
e469655784
|
@ -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