private void processCurrPathForMmWriteIds(InputFormat inputFormat,
      List<Path> dirs, List<Path> dirsWithOriginals) throws IOException {
    if (inputFormat instanceof HiveInputFormat) {
      dirs.add(currPath); // No need to process here.
    }
    ValidWriteIdList validWriteIdList;
    if (AcidUtils.isInsertOnlyTable(currDesc.getTableDesc().getProperties())) {
      validWriteIdList = extractValidWriteIdList();
    } else {
      validWriteIdList = null;  // non-MM case
    }
    if (validWriteIdList != null) {
      Utilities.FILE_OP_LOGGER.info("Processing " + currDesc.getTableName() + " for MM paths");
    }

    HiveInputFormat.processPathsForMmRead(
        Lists.newArrayList(currPath), job, validWriteIdList, dirs, dirsWithOriginals);
  }
Set context for this fetch operator in to the jobconf.
This helps InputFormats make decisions based on the scope of the complete
operation.
@param conf the configuration to modify
@param paths the list of input directories
ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java