@HiveDecimalVersionV2
  public static HiveDecimal create(long longValue, int scale) {
    HiveDecimal result = new HiveDecimal();
    if (!result.fastSetFromLongAndScale(
        longValue, scale)) {
      return null;
    }
    return result;
  }
Create a HiveDecimal object from a long with a specified scale.
storage-api/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java