private String makeInputString(List<Path> dirs) {
    if (dirs == null || dirs.isEmpty()) {
      return "";
    }
    // remove duplicates
    return dirs.stream()
        .map(dir -> StringUtils.escapeString(dir.toString()))
        .distinct()
        .collect(Collectors.joining(","));

  }
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