@HiveDecimalVersionV2
  public static HiveDecimal createFromBigIntegerBytesAndScale(
      byte[] bytes, int scale) {
    HiveDecimal result = new HiveDecimal();
    if (!result.fastSetFromBigIntegerBytesAndScale(
        bytes, 0, bytes.length, scale)) {
      return null;
    }
    return result;
  }
Convert bytes in the format used by BigInteger's toByteArray format (and accepted by its
constructor) into a decimal using the specified scale.
<p>
Our bigIntegerBytes methods create bytes in this format, too.
<p>
This method is designed for high performance and does not create an actual BigInteger during
binary to decimal conversion.
storage-api/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java