From a5ef30ff84ad6931f2e744658e48f1803ffbd67e Mon Sep 17 00:00:00 2001 From: binlijin Date: Tue, 2 Feb 2016 14:20:09 +0800 Subject: [PATCH] optimize topn on particular situation --- .../druid/query/topn/BaseTopNAlgorithm.java | 20 +- .../druid/query/topn/PooledTopNAlgorithm.java | 217 ++++++++++++++++-- 2 files changed, 219 insertions(+), 18 deletions(-) diff --git a/processing/src/main/java/io/druid/query/topn/BaseTopNAlgorithm.java b/processing/src/main/java/io/druid/query/topn/BaseTopNAlgorithm.java index ce6ba4cfaaf..170c349514e 100644 --- a/processing/src/main/java/io/druid/query/topn/BaseTopNAlgorithm.java +++ b/processing/src/main/java/io/druid/query/topn/BaseTopNAlgorithm.java @@ -77,12 +77,16 @@ public abstract class BaseTopNAlgorithm