mirror of https://github.com/apache/druid.git
add comment about de-serialing bySegment
This commit is contained in:
parent
a7da9aed9f
commit
c44242f0af
|
@ -268,6 +268,8 @@ public class DirectDruidClient<T> implements QueryRunner<T>
|
|||
}
|
||||
);
|
||||
|
||||
// bySegment queries are de-serialized after caching results in order to
|
||||
// avoid the cost of de-serializing and then re-serializing again when adding to cache
|
||||
if (!isBySegment) {
|
||||
retVal = Sequences.map(
|
||||
retVal,
|
||||
|
|
Loading…
Reference in New Issue