You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by gi...@apache.org on 2020/05/03 19:53:03 UTC
[druid] branch master updated: fix npe in
IncrementalIndexReadBenchmark (#9754)
This is an automated email from the ASF dual-hosted git repository.
gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new ee9a721 fix npe in IncrementalIndexReadBenchmark (#9754)
ee9a721 is described below
commit ee9a721accfec9d5900c6169700f1f861110756f
Author: BIGrey <hu...@163.com>
AuthorDate: Mon May 4 03:52:50 2020 +0800
fix npe in IncrementalIndexReadBenchmark (#9754)
Co-authored-by: 黄辉 <hu...@bytedance.com>
---
.../apache/druid/benchmark/indexing/IncrementalIndexReadBenchmark.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/benchmarks/src/test/java/org/apache/druid/benchmark/indexing/IncrementalIndexReadBenchmark.java b/benchmarks/src/test/java/org/apache/druid/benchmark/indexing/IncrementalIndexReadBenchmark.java
index f68f993..f7d1e91 100644
--- a/benchmarks/src/test/java/org/apache/druid/benchmark/indexing/IncrementalIndexReadBenchmark.java
+++ b/benchmarks/src/test/java/org/apache/druid/benchmark/indexing/IncrementalIndexReadBenchmark.java
@@ -198,7 +198,7 @@ public class IncrementalIndexReadBenchmark
private Sequence<Cursor> makeCursors(IncrementalIndexStorageAdapter sa, DimFilter filter)
{
return sa.makeCursors(
- filter.toFilter(),
+ filter == null ? null : filter.toFilter(),
schemaInfo.getDataInterval(),
VirtualColumns.EMPTY,
Granularities.ALL,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org