Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for OutputSerialization (0.17 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>`),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. 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{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 14 16:48:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. 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()
    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/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"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 18:31:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. 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:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.5K bytes
    - Viewed (0)
Back to top