code: public final void ensureRowsComplete() throws SnowflakeSQLException
    {
      // Check that all the rows have been decoded, raise an error if not
      if (rowCount != currentRow)
      {
        throw
            new SnowflakeSQLException(
                SqlState.INTERNAL_ERROR,
                ErrorCode.INTERNAL_ERROR
                    .getMessageCode(),
                "Exception: expected " +
                rowCount +
                " rows and received " +
                currentRow);
      }
    }
docs: Checks that all data has been added after parsing.
  
  @throws SnowflakeSQLException when rows are not all downloaded