mirror of
https://github.com/apache/druid.git
synced 2025-02-25 20:48:05 +00:00
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…
x
Reference in New Issue
Block a user