@Override
  public List<InputSplit> getSplits(JobContext context) throws IOException {
    return computeSplits(context.getConfiguration()).stream()
        .map(is -> (InputSplit) is)
        .collect(Collectors.toList());
  }
A Kudu InputFormat implementation for use by Hive.
kudu-handler/src/java/org/apache/hadoop/hive/kudu/KuduInputFormat.java