mirror of https://github.com/apache/druid.git
add comment
This commit is contained in:
parent
2ef710191f
commit
de55098898
|
@ -42,6 +42,7 @@ public class ConstantPostAggregator implements PostAggregator
|
|||
@JsonProperty("value") Number constantValue
|
||||
)
|
||||
{
|
||||
// only value should be required for constants
|
||||
Preconditions.checkNotNull(constantValue, "Constant value must not be null");
|
||||
this.name = name;
|
||||
this.constantValue = constantValue;
|
||||
|
|
Loading…
Reference in New Issue