@HiveDecimalVersionV1
  public int scale() {
    return fastScale();
  }
Returns the scale of the decimal.  Range 0 .. MAX_SCALE.
storage-api/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java