code: func (d Duration) CompareString(sc *stmtctx.StatementContext, str string) (int, error) {
  	// use MaxFsp to parse the string
  	o, err := ParseDuration(sc, str, MaxFsp)
  	if err != nil {
  		return 0, err
  	}
  
  	return d.Compare(o), nil
  }
docs: // CompareString is like Compare,
  // but parses str to Duration then compares.