Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InputSerialization (0.16 sec)

  1. internal/s3select/select_test.go

        <Expression>SELECT s.synonyms from s3object s WHERE 'whatever' IN s.synonyms</Expression>
        <ExpressionType>SQL</ExpressionType>
        <InputSerialization>
            <CompressionType>NONE</CompressionType>
            <JSON>
                <Type>DOCUMENT</Type>
            </JSON>
        </InputSerialization>
        <OutputSerialization>
            <CSV>
    	   <QuoteCharacter>"</QuoteCharacter>
            </CSV>
        </OutputSerialization>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    	default:
    		return errInvalidCompressionFormat(fmt.Errorf("invalid compression format '%v'", s))
    	}
    
    	*c = parsedType
    	return nil
    }
    
    // InputSerialization - represents elements inside <InputSerialization/> in request XML.
    type InputSerialization struct {
    	CompressionType CompressionType    `xml:"CompressionType"`
    	CSVArgs         csv.ReaderArgs     `xml:"CSV"`
    	JSONArgs        json.ReaderArgs    `xml:"JSON"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. internal/s3select/csv/args.go

    	defaultQuoteCharacter       = `"`
    	defaultQuoteEscapeCharacter = `"`
    	defaultCommentCharacter     = "#"
    
    	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"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. docs/select/README.md

    r = s3.select_object_content(
        Bucket='mycsvbucket',
        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']:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
Back to top