Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for InputSerialization (0.27 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/errors.go

    }
    
    func errObjectSerializationConflict(err error) *s3Error {
    	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,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 14 16:48:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. docs/select/select.py

    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: Sat Aug 18 00:11:39 UTC 2018
    - 1K bytes
    - Viewed (0)
  5. internal/s3select/parquet/args.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package parquet
    
    import "encoding/xml"
    
    // ReaderArgs - represents elements inside <InputSerialization><Parquet/> in request XML.
    type ReaderArgs struct {
    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. 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>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 14 13:54:47 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. internal/s3select/json/args.go

    import (
    	"encoding/xml"
    	"fmt"
    	"strings"
    )
    
    const (
    	document = "document"
    	lines    = "lines"
    
    	defaultRecordDelimiter = "\n"
    )
    
    // ReaderArgs - represents elements inside <InputSerialization><JSON/> in request XML.
    type ReaderArgs struct {
    	ContentType string `xml:"Type"`
    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  8. 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)
  9. 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