Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FileHeaderInfo (0.19 sec)

  1. internal/s3select/csv/args.go

    				if err = d.DecodeElement(&s, &se); err != nil {
    					return err
    				}
    				switch tagName {
    				case "FileHeaderInfo":
    					s = strings.ToLower(s)
    					if len(s) != 0 {
    						if s != none && s != use && s != ignore {
    							return errors.New("unsupported FileHeaderInfo")
    						}
    						args.FileHeaderInfo = s
    					}
    
    				case "RecordDelimiter":
    					if len(s) != 0 {
    						args.RecordDelimiter = s
    					}
    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. docs/select/select.py

        Key='sampledata/TotalPopulation.csv.gz',
        ExpressionType='SQL',
        Expression="select * from s3object s where s.Location like '%United States%'",
        InputSerialization={
            'CSV': {
                "FileHeaderInfo": "USE",
            },
            'CompressionType': 'GZIP',
        },
        OutputSerialization={'CSV': {}},
    )
    
    for event in r['Payload']:
        if 'Records' in event:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 18 00:11:39 UTC 2018
    - 1K bytes
    - Viewed (0)
  3. internal/s3select/select_test.go

        <ExpressionType>SQL</ExpressionType>
        <InputSerialization>
            <CompressionType>NONE</CompressionType>
            <CSV>
            	<FieldDelimiter>,</FieldDelimiter>
            	<FileHeaderInfo>USE</FileHeaderInfo>
            	<QuoteCharacter>"</QuoteCharacter>
            	<QuoteEscapeCharacter>"</QuoteEscapeCharacter>
            	<RecordDelimiter>\n</RecordDelimiter>
            </CSV>
        </InputSerialization>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  4. internal/s3select/select_benchmark_test.go

    <SelectObjectContentRequest>
        <Expression>` + query + `</Expression>
        <ExpressionType>SQL</ExpressionType>
        <InputSerialization>
            <CompressionType>NONE</CompressionType>
            <CSV>
                <FileHeaderInfo>USE</FileHeaderInfo>
            </CSV>
        </InputSerialization>
        <OutputSerialization>
            <CSV>
            </CSV>
        </OutputSerialization>
        <RequestProgress>
            <Enabled>FALSE</Enabled>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 14 13:54:47 UTC 2022
    - 5K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader_contrib_test.go

    	}
    
    	for i, c := range cases {
    		var err error
    		var record sql.Record
    		var result bytes.Buffer
    
    		r, _ := NewReader(io.NopCloser(strings.NewReader(c.content)), &ReaderArgs{
    			FileHeaderInfo:             none,
    			RecordDelimiter:            c.recordDelimiter,
    			FieldDelimiter:             c.fieldDelimiter,
    			QuoteCharacter:             defaultQuoteCharacter,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  6. internal/s3select/csv/reader.go

    // and a number of workers based on GOMAXPROCS.
    // If an error is returned no goroutines have been started and r.err will have been set.
    func (r *Reader) startReaders(newReader func(io.Reader) *csv.Reader) error {
    	if r.args.FileHeaderInfo != none {
    		// Read column names
    		// Get one line.
    		b, err := r.nextSplit(0, nil)
    		if err != nil {
    			r.err = err
    			return err
    		}
    		if !utf8.Valid(b) {
    			return errInvalidTextEncodingError()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. docs/select/README.md

        Key='sampledata/TotalPopulation.csv.gz',
        ExpressionType='SQL',
        Expression="select * from s3object s where s.Location like '%United States%'",
        InputSerialization={
            'CSV': {
                "FileHeaderInfo": "USE",
            },
            'CompressionType': 'GZIP',
        },
        OutputSerialization={'CSV': {}},
    )
    
    for event in r['Payload']:
        if 'Records' in event:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidFileHeaderInfo: {
    		Code:           "InvalidFileHeaderInfo",
    		Description:    "The FileHeaderInfo is invalid. Only NONE, USE, and IGNORE are supported.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidJSONType: {
    		Code:           "InvalidJsonType",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top