Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for QuoteEscapeCharacter (0.13 sec)

  1. internal/s3select/csv/args.go

    					}
    					args.QuoteCharacter = s
    				case "QuoteEscapeCharacter":
    					switch utf8.RuneCountInString(s) {
    					case 0:
    						args.QuoteEscapeCharacter = defaultQuoteEscapeCharacter
    					case 1:
    						args.QuoteEscapeCharacter = s
    					default:
    						return fmt.Errorf("unsupported QuoteEscapeCharacter '%v'", s)
    					}
    				case "Comments":
    					if len(s) != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 18:31:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. internal/s3select/csv/reader_contrib_test.go

    			FileHeaderInfo:             none,
    			RecordDelimiter:            c.recordDelimiter,
    			FieldDelimiter:             c.fieldDelimiter,
    			QuoteCharacter:             defaultQuoteCharacter,
    			QuoteEscapeCharacter:       defaultQuoteEscapeCharacter,
    			CommentCharacter:           defaultCommentCharacter,
    			AllowQuotedRecordDelimiter: false,
    			unmarshaled:                true,
    		})
    
    		for {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  3. internal/s3select/csv/reader.go

    		if len([]rune(args.QuoteCharacter)) > 0 {
    			// Add the first rune of args.QuoteCharacter
    			ret.Quote = append(ret.Quote, []rune(args.QuoteCharacter)[0])
    		}
    		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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    		opts := sql.WriteCSVOpts{
    			FieldDelimiter: []rune(s3Select.Output.CSVArgs.FieldDelimiter)[0],
    			Quote:          []rune(s3Select.Output.CSVArgs.QuoteCharacter)[0],
    			QuoteEscape:    []rune(s3Select.Output.CSVArgs.QuoteEscapeCharacter)[0],
    			AlwaysQuote:    strings.EqualFold(s3Select.Output.CSVArgs.QuoteFields, "always"),
    		}
    		err := record.WriteCSV(bufioWriter, opts)
    		if err != nil {
    			return err
    		}
    		err = bufioWriter.Flush()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. internal/s3select/select_test.go

            <CSV>
            	<FieldDelimiter>,</FieldDelimiter>
            	<FileHeaderInfo>USE</FileHeaderInfo>
            	<QuoteCharacter>"</QuoteCharacter>
            	<QuoteEscapeCharacter>"</QuoteEscapeCharacter>
            	<RecordDelimiter>\n</RecordDelimiter>
            </CSV>
        </InputSerialization>
        <OutputSerialization>
            <CSV>
            </CSV>
        </OutputSerialization>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
Back to top