- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for RecordDelimiter (0.12 sec)
-
internal/s3select/csv/recordtransform.go
if err != nil { return n, err } // Do nothing if record-delimiter is already newline. if string(rr.recordDelimiter) == "\n" { return n, nil } // Change record delimiters to newline. if len(rr.recordDelimiter) == 1 { for idx := 0; idx < len(p); { i := bytes.Index(p[idx:], rr.recordDelimiter) if i < 0 { break } idx += i p[idx] = '\n' } return n, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.1K bytes - Viewed (0) -
internal/s3select/csv/args.go
asneeded = "asneeded" ) // ReaderArgs - represents elements inside <InputSerialization><CSV> in request XML. type ReaderArgs struct { FileHeaderInfo string `xml:"FileHeaderInfo"` RecordDelimiter string `xml:"RecordDelimiter"` FieldDelimiter string `xml:"FieldDelimiter"` QuoteCharacter string `xml:"QuoteCharacter"` QuoteEscapeCharacter string `xml:"QuoteEscapeCharacter"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 18:31:45 UTC 2024 - 5.7K bytes - Viewed (0) -
internal/s3select/json/args.go
if err := d.DecodeElement(&parsedArgs, &start); err != nil { return err } switch len(parsedArgs.RecordDelimiter) { case 0: parsedArgs.RecordDelimiter = defaultRecordDelimiter case 1, 2: default: return fmt.Errorf("invalid RecordDelimiter '%v'", parsedArgs.RecordDelimiter) } *args = WriterArgs(parsedArgs) args.unmarshaled = true return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.7K bytes - Viewed (0) -
internal/s3select/csv/reader.go
panic(fmt.Errorf("empty args passed %v", args)) } csvIn := io.Reader(readCloser) if args.RecordDelimiter != "\n" { csvIn = &recordTransform{ reader: readCloser, recordDelimiter: []byte(args.RecordDelimiter), oneByte: make([]byte, len(args.RecordDelimiter)-1), } } r := &Reader{ args: args, buf: bufio.NewReaderSize(csvIn, csvSplitSize*2),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/select/README.md
- AWS S3's [reserved keywords](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference-keyword-list.html) list is not yet respected.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 6.5K bytes - Viewed (0)