Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for OutputSerialization (0.26 sec)

  1. internal/s3select/select_test.go

            <CompressionType>NONE</CompressionType>
            <JSON>
                <Type>DOCUMENT</Type>
            </JSON>
        </InputSerialization>
        <OutputSerialization>
            <CSV>
    	   <QuoteCharacter>"</QuoteCharacter>
            </CSV>
        </OutputSerialization>
        <RequestProgress>
            <Enabled>FALSE</Enabled>
        </RequestProgress>
    </SelectObjectContentRequest>`),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  2. internal/s3select/errors.go

    	return &s3Error{
    		code:       "ObjectSerializationConflict",
    		message:    "InputSerialization specifies more than one format (CSV, JSON, or Parquet), or OutputSerialization specifies more than one format (CSV or JSON). InputSerialization and OutputSerialization can only specify one format each.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidExpressionType(err error) *s3Error {
    	return &s3Error{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  3. internal/s3select/select.go

    	return nil
    }
    
    // OutputSerialization - represents elements inside <OutputSerialization/> in request XML.
    type OutputSerialization struct {
    	CSVArgs     csv.WriterArgs  `xml:"CSV"`
    	JSONArgs    json.WriterArgs `xml:"JSON"`
    	unmarshaled bool
    	format      string
    }
    
    // IsEmpty - returns whether output serialization is empty or not.
    func (output *OutputSerialization) IsEmpty() bool {
    	return !output.unmarshaled
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  4. internal/s3select/json/args.go

    	}
    
    	*args = ReaderArgs(parsedArgs)
    	args.unmarshaled = true
    	return nil
    }
    
    // WriterArgs - represents elements inside <OutputSerialization><JSON/> in request XML.
    type WriterArgs struct {
    	RecordDelimiter string `xml:"RecordDelimiter"`
    	unmarshaled     bool
    }
    
    // IsEmpty - returns whether writer args is empty or not.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  5. internal/s3select/select_benchmark_test.go

        <InputSerialization>
            <CompressionType>NONE</CompressionType>
            <CSV>
                <FileHeaderInfo>USE</FileHeaderInfo>
            </CSV>
        </InputSerialization>
        <OutputSerialization>
            <CSV>
            </CSV>
        </OutputSerialization>
        <RequestProgress>
            <Enabled>FALSE</Enabled>
        </RequestProgress>
    </SelectObjectContentRequest>
    `)
    
    	csvData := genSampleCSVData(count)
    
    	b.ResetTimer()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 5K bytes
    - Viewed (0)
  6. docs/select/select.py

        InputSerialization={
            'CSV': {
                "FileHeaderInfo": "USE",
            },
            'CompressionType': 'GZIP',
        },
        OutputSerialization={'CSV': {}},
    )
    
    for event in r['Payload']:
        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
        elif 'Stats' in event:
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Aug 18 00:11:39 GMT 2018
    - 1K bytes
    - Viewed (0)
  7. internal/s3select/csv/args.go

    				default:
    					return errors.New("unrecognized option")
    				}
    			}
    		}
    	}
    
    	args.unmarshaled = true
    	return nil
    }
    
    // WriterArgs - represents elements inside <OutputSerialization><CSV/> in request XML.
    type WriterArgs struct {
    	QuoteFields          string `xml:"QuoteFields"`
    	RecordDelimiter      string `xml:"RecordDelimiter"`
    	FieldDelimiter       string `xml:"FieldDelimiter"`
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  8. docs/select/README.md

        InputSerialization={
            'CSV': {
                "FileHeaderInfo": "USE",
            },
            'CompressionType': 'GZIP',
        },
        OutputSerialization={'CSV': {}},
    )
    
    for event in r['Payload']:
        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
        elif 'Stats' in event:
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 6.5K bytes
    - Viewed (0)
Back to top