byte[] validatedDecimal(long longValue) {
      hiveDecimalWritable.setFromLong(longValue);
      return validatedDecimal();
    }
Helper function to validate long data when it will be read as a decimal from hive.  Sets the
isValid to true if the data can be read as decimal, otherwise false.
@param longValue input value of long type to be validated.
@return null if the data is invalid, other a validated hivedecimalwritable
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java