code: func (c *Chunk) SetRequiredRows(requiredRows, maxChunkSize int) *Chunk {
  	if requiredRows <= 0 || requiredRows > maxChunkSize {
  		requiredRows = maxChunkSize
  	}
  	c.requiredRows = requiredRows
  	return c
  }
docs: // SetRequiredRows sets the number of required rows.