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