long validatedLong(long longValue, String typeName) {
      return validatedLong(longValue, typeName, false);
    }
Helper function to validate long data.  Sets the isValid to true if the data is valid
for the type it will be read in, otherwise false.
@param longValue input value of long type to be validated.
@param typeName the hivetype to be used to read the longValue
@return 0 if the data is invalid, other longValue
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java