private void validateCacheAndDisk(StripeData cacheData,
      long rowCount, long encodingCount, Object diskDataLog) throws IOException {
    if (rowCount != cacheData.getRowCount()) {
      throw new IOException("Row count mismatch; disk " + rowCount + ", cache "
          + cacheData.getRowCount() + " from " + diskDataLog + " and " + cacheData);
    }
    if (encodingCount > 0 && encodingCount != cacheData.getEncodings().length) {
      throw new IOException("Column count mismatch; disk " + encodingCount + ", cache "
          + cacheData.getEncodings().length + " from " + diskDataLog + " and " + cacheData);
    }
  }
For !doesSourceHaveIncludes case, stores global column IDs to verify writer columns.
For doesSourceHaveIncludes case, stores source column IDs used to map things.
llap-server/src/java/org/apache/hadoop/hive/llap/io/encoded/SerDeEncodedDataReader.java