@Override
  public TableSchema getResultSetSchema() throws HiveSQLException {
    return resultSchema;
  }
For processors other than Hive queries (Driver), they output to session.out (a temp file)
first and the fetchOne/fetchN/fetchAll functions get the output from pipeIn.
service/src/java/org/apache/hive/service/cli/operation/HiveCommandOperation.java