public void setSumDistinct(boolean sumDistinct) {
      this.sumDistinct = sumDistinct;
    }
The base type for sum operator evaluator
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFSum.java