@Override
  public boolean validateInput(FileSystem fs, HiveConf conf, List<FileStatus> files)
      throws IOException {
    if (files.size() <= 0) return false;

    // The simple validity check is to see if the file is of size 0 or not.
    // Other checks maybe added in the future.
    for (FileStatus file : files) {
      if (file.getLen() == 0) return false;
    }

    return true;
  }
A Parquet InputFormat for Hive (with the deprecated package mapred)

NOTE: With HIVE-9235 we removed "implements VectorizedParquetInputFormat" since all data types
      are not currently supported.  Removing the interface turns off vectorization.
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/MapredParquetInputFormat.java