Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DISTINCT (1.37 sec)

  1. internal/s3select/sql/parser_test.go

    			t.Fatalf("%d: %v", i, err)
    		}
    
    		// repr.Println(s, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    }
    
    func TestSqlLexerArithOps(t *testing.T) {
    	s := bytes.NewBuffer([]byte("year from select month hour distinct"))
    	lex, err := sqlLexer.Lex(s)
    	if err != nil {
    		t.Fatal(err)
    	}
    	tokens, err := lexer.ConsumeAll(lex)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(tokens) != 7 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  2. internal/bucket/replication/replication.go

    				continue
    			}
    		}
    		return true
    	}
    	return false
    }
    
    // FilterTargetArns returns a slice of distinct target arns in the config
    func (c Config) FilterTargetArns(obj ObjectOpts) []string {
    	var arns []string
    
    	tgtsMap := make(map[string]struct{})
    	rules := c.FilterActionableRules(obj)
    	for _, rule := range rules {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top