Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSqlLexer (0.14 sec)

  1. internal/s3select/sql/parser_test.go

    	for i, tc := range validCases {
    		err := p.ParseString(tc, &fex)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		// repr.Println(fex, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    }
    
    func TestSqlLexer(t *testing.T) {
    	// s := bytes.NewBuffer([]byte("s.['name'].*.[*].abc.[\"abc\"]"))
    	s := bytes.NewBuffer([]byte("S3Object.words.*.id"))
    	// s := bytes.NewBuffer([]byte("COUNT(Id)"))
    	lex, err := sqlLexer.Lex(s)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top