mirror of https://github.com/apache/druid.git
add null check early to catch root cause
This commit is contained in:
parent
c21086b6a8
commit
6e935cca0a
|
@ -138,6 +138,9 @@ public class GroupByQueryHelper
|
||||||
@Override
|
@Override
|
||||||
public List accumulate(List accumulated, T in)
|
public List accumulate(List accumulated, T in)
|
||||||
{
|
{
|
||||||
|
if(in == null){
|
||||||
|
throw new ISE("Cannot have null result");
|
||||||
|
}
|
||||||
accumulated.add(in);
|
accumulated.add(in);
|
||||||
return accumulated;
|
return accumulated;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue