Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for dubbed (0.16 sec)

  1. internal/s3select/sql/parser.go

    type LiteralString string
    
    // Capture interface used by participle
    func (ls *LiteralString) Capture(values []string) error {
    	// Remove enclosing single quote
    	n := len(values[0])
    	r := values[0][1 : n-1]
    	// Translate doubled quotes
    	*ls = LiteralString(strings.ReplaceAll(r, "''", "'"))
    	return nil
    }
    
    // LiteralList is a type for parsed SQL lists literals
    type LiteralList []string
    
    // Capture interface used by participle
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  2. internal/s3select/csv/reader.go

    		}
    		ret.QuoteEscape = []rune(args.QuoteEscapeCharacter)[0]
    		ret.FieldsPerRecord = -1
    		// If LazyQuotes is true, a quote may appear in an unquoted field and a
    		// non-doubled quote may appear in a quoted field.
    		ret.LazyQuotes = true
    		// We do not trim leading space to keep consistent with s3.
    		ret.TrimLeadingSpace = false
    		ret.ReuseRecord = true
    		return ret
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. cmd/object-api-utils_test.go

    		// Remove trailing slash
    		{"abc/", "abc"},
    		{"abc/def/", "abc/def"},
    		{"a/b/c/", "a/b/c"},
    		{"./", "."},
    		{"../", ".."},
    		{"../../", "../.."},
    		{"/abc/", "/abc"},
    
    		// Remove doubled slash
    		{"abc//def//ghi", "abc/def/ghi"},
    		{"//abc", "/abc"},
    		{"///abc", "/abc"},
    		{"//abc//", "/abc"},
    		{"abc//", "abc"},
    
    		// Remove . elements
    		{"abc/./def", "abc/def"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top