code: func (f *Field) Max(filter *Row, name string) (max, count int64, err error) {
  	bsig := f.bsiGroup(name)
  	if bsig == nil {
  		return 0, 0, ErrBSIGroupNotFound
  	}
  
  	view := f.view(viewBSIGroupPrefix + name)
  	if view == nil {
  		return 0, 0, nil
  	}
  
  	vmax, vcount, err := view.max(filter, bsig.BitDepth())
  	if err != nil {
  		return 0, 0, err
  	}
  	return int64(vmax) + bsig.Min, int64(vcount), nil
  }
docs: // Max returns the max for a field.
  // An optional filtering row can be provided.