mirror of https://github.com/apache/druid.git
fix (#15017)
This commit is contained in:
parent
08cf290da2
commit
82e809c8d0
|
@ -389,7 +389,6 @@ public class MovingAverageQueryTest extends InitializedNullHandlingTest
|
|||
null,
|
||||
new CacheConfig(),
|
||||
null,
|
||||
httpClientConfig,
|
||||
new SubqueryCountStatsProvider()
|
||||
);
|
||||
|
||||
|
|
|
@ -31,8 +31,6 @@ import org.apache.druid.client.cache.CacheConfig;
|
|||
import org.apache.druid.error.DruidException;
|
||||
import org.apache.druid.frame.allocation.ArenaMemoryAllocatorFactory;
|
||||
import org.apache.druid.frame.write.UnsupportedColumnTypeException;
|
||||
import org.apache.druid.guice.annotations.Client;
|
||||
import org.apache.druid.guice.http.DruidHttpClientConfig;
|
||||
import org.apache.druid.java.util.common.ISE;
|
||||
import org.apache.druid.java.util.common.Pair;
|
||||
import org.apache.druid.java.util.common.guava.Sequence;
|
||||
|
@ -123,7 +121,6 @@ public class ClientQuerySegmentWalker implements QuerySegmentWalker
|
|||
Cache cache,
|
||||
CacheConfig cacheConfig,
|
||||
LookupExtractorFactoryContainerProvider lookupManager,
|
||||
DruidHttpClientConfig httpClientConfig,
|
||||
SubqueryCountStatsProvider subqueryStatsProvider
|
||||
)
|
||||
{
|
||||
|
@ -140,7 +137,7 @@ public class ClientQuerySegmentWalker implements QuerySegmentWalker
|
|||
this.subqueryGuardrailHelper = new SubqueryGuardrailHelper(
|
||||
lookupManager,
|
||||
Runtime.getRuntime().maxMemory(),
|
||||
httpClientConfig.getNumConnections()
|
||||
serverConfig.getNumThreads()
|
||||
);
|
||||
this.subqueryStatsProvider = subqueryStatsProvider;
|
||||
}
|
||||
|
@ -158,7 +155,6 @@ public class ClientQuerySegmentWalker implements QuerySegmentWalker
|
|||
Cache cache,
|
||||
CacheConfig cacheConfig,
|
||||
LookupExtractorFactoryContainerProvider lookupManager,
|
||||
@Client DruidHttpClientConfig httpClientConfig,
|
||||
SubqueryCountStatsProvider subqueryStatsProvider
|
||||
)
|
||||
{
|
||||
|
@ -174,7 +170,6 @@ public class ClientQuerySegmentWalker implements QuerySegmentWalker
|
|||
cache,
|
||||
cacheConfig,
|
||||
lookupManager,
|
||||
httpClientConfig,
|
||||
subqueryStatsProvider
|
||||
);
|
||||
}
|
||||
|
|
|
@ -22,7 +22,6 @@ package org.apache.druid.server;
|
|||
import com.google.common.collect.ImmutableMap;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import org.apache.druid.client.cache.CacheConfig;
|
||||
import org.apache.druid.guice.http.DruidHttpClientConfig;
|
||||
import org.apache.druid.java.util.common.io.Closer;
|
||||
import org.apache.druid.java.util.emitter.service.ServiceEmitter;
|
||||
import org.apache.druid.query.BrokerParallelMergeConfig;
|
||||
|
@ -166,14 +165,6 @@ public class QueryStackTests
|
|||
}
|
||||
},
|
||||
lookupManager,
|
||||
new DruidHttpClientConfig()
|
||||
{
|
||||
@Override
|
||||
public int getNumConnections()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
},
|
||||
new SubqueryCountStatsProvider()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue