List<InputSplit> splits = hapi.getSplits(new JobContext(hiveConf, new JobID()));
LOG.info("Have {} splits to read", splits.size());
HiveTableName hiveTableName = new HiveTableName(args.inputTable.database, args.inputTable.table);
HiveTableSchema schema = HiveTableSchemas.lookup(client, hiveTableName);
Stats stats = Stats.get(hiveStats);
Context context = new Context(hapi, hiveConf, schema, hiveStats, stats);
long startNanos = System.nanoTime();