Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for _3 (0.01 seconds)

  1. internal/s3select/sql/parser_test.go

    	}
    	// for i, t := range tokens {
    	// 	fmt.Printf("%d: %#v\n", i, t)
    	// }
    }
    
    func TestParseSelectStatement(t *testing.T) {
    	exp, err := ParseSelectStatement("select _3,_1,_2 as 'mytest'  from S3object")
    	if err != nil {
    		t.Fatalf("parse alias sql error: %v", err)
    	}
    	if exp.selectAST.Expression.Expressions[2].As != "mytest" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Click Count (0)
  2. internal/s3select/csv/reader_contrib_test.go

    `,
    			totalFields: 308*2 + 1,
    		}, {
    			file:            "nyc-taxi-data-noheader-100k.csv",
    			recordDelimiter: "\n",
    			fieldDelimiter:  ",",
    			header:          false,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  3. internal/s3select/select_test.go

    		wantErr    bool
    	}{
    		{
    			name:  "select-all",
    			input: testInput,
    			query: ``,
    			// Since we are doing offset, no headers are used.
    			wantResult: `{"_1":"2","_2":"2017-01-02T03:04Z","_3":"-5","_4":" 0.765111","_5":""}`,
    			requestXML: []byte(`<?xml version="1.0" encoding="UTF-8"?>
    <SelectObjectContentRequest>
        <Expression>SELECT * from s3object AS s</Expression>
        <ExpressionType>SQL</ExpressionType>
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 76.1K bytes
    - Click Count (0)
Back to Top