@Override
  public double divideForAvg(BigDecimal bd1, Long l2) {
    return (l2 == null || bd1 == null) ? Double.NaN : (bd1.doubleValue() / l2.doubleValue());
  }
ColumnInterpreter for doing Aggregation's with BigDecimal columns. This class is required at the
RegionServer also.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/coprocessor/BigDecimalColumnInterpreter.java