@HiveDecimalVersionV1
  @Override
  public int compareTo(HiveDecimal dec) {
    return fastCompareTo(dec);
  }
Convert decimal to just the digits -- no dot.
<p>
Currently used by BinarySortable serialization.
<p>
A faster way to get just the digits than calling unscaledValue.toString().getBytes().
storage-api/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java