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