code: @Override
    public TableSchema getResultSetMetadata(OperationHandle opHandle)
        throws HiveSQLException {
      try {
        TGetResultSetMetadataReq req = new TGetResultSetMetadataReq(opHandle.toTOperationHandle());
        TGetResultSetMetadataResp resp = cliService.GetResultSetMetadata(req);
        checkStatus(resp.getStatus());
        return new TableSchema(resp.getSchema());
      } catch (HiveSQLException e) {
        throw e;
      } catch (Exception e) {
        throw new HiveSQLException(e);
      }
    }
docs: /* (non-Javadoc)
  @see org.apache.hive.service.cli.ICLIService#getResultSetMetadata(org.apache.hive.service.cli.OperationHandle)