private long fileLength(Path path) throws IOException {
    return fs.getFileStatus(path).getLen();
  }
We use LazySimpleSerDe to generate our testing rows.
itests/hive-jmh/src/main/java/org/apache/hive/benchmark/storage/ColumnarStorageBench.java