public boolean isUncompressedInput(List<Path> finalPaths, Configuration conf) throws IOException {
    CompressionCodecFactory compressionCodecs = new CompressionCodecFactory(conf);
    for (Path curr : finalPaths) {
      FileSystem fs = curr.getFileSystem(conf);
      if (fs.isDirectory(curr)) {
        List<FileStatus> results = new ArrayList<>();
        FileUtils.listStatusRecursively(fs, fs.getFileStatus(curr), results);
        for (FileStatus fileStatus : results) {
          if (compressionCodecs.getCodec(fileStatus.getPath()) != null) {
            return false;
          }
        }
      } else if (compressionCodecs.getCodec(curr) != null) {
        return false;
      }
    }
    return true;
  }
NOTE: this no longer wraps the IF for LLAP. Call wrapForLlap manually if needed.
ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java