Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for csv (0.13 sec)

  1. docs/extensions/s3zip/examples/aws-js/main.js

            } else {
                console.log("Success", data);
            }
        });
    
    
    // Download a file in the archive and store it in /tmp/data.csv
    var file = require('fs').createWriteStream('/tmp/data.csv');
    s3.getObject({Bucket: 'your-bucket', Key: 'path/to/file.zip/data.csv'}).
        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
        on('httpData', function(chunk) { file.write(chunk); }).
    JavaScript
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 10 15:17:03 GMT 2021
    - 1K bytes
    - Viewed (0)
  2. docs/select/select.py

        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']:
        if 'Records' in event:
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 18 00:11:39 GMT 2018
    - 1K bytes
    - Viewed (0)
  3. docs/extensions/s3zip/examples/boto3/main.py

    # List zip contents
    response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/")
    print(response)
    
    # Download data.csv stored in the zip file
    Python
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Aug 04 21:15:45 GMT 2021
    - 771 bytes
    - Viewed (0)
  4. internal/s3select/select.go

    }
    
    // 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"`
    	ParquetArgs     parquet.ReaderArgs `xml:"Parquet"`
    	unmarshaled     bool
    	format          string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  5. internal/s3select/simdj/record.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package simdj
    
    import (
    	"fmt"
    	"io"
    
    	"github.com/bcicen/jstream"
    	csv "github.com/minio/csvparser"
    	"github.com/minio/minio/internal/s3select/json"
    	"github.com/minio/minio/internal/s3select/sql"
    	"github.com/minio/simdjson-go"
    )
    
    // Record - is JSON record.
    type Record struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  6. docs/config/README.md

    ```
    KEY:
    etcd  federate multiple clusters for IAM and Bucket DNS
    
    ARGS:
    endpoints*       (csv)       comma separated list of etcd endpoints e.g. "http://localhost:2379"
    path_prefix      (path)      namespace prefix to isolate tenants e.g. "customer1/"
    coredns_path     (path)      shared bucket DNS records, default is "/skydns"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  7. docs/extensions/s3zip/examples/minio-go/main.go

    	// Add extract header to request:
    	opts.Set("x-minio-extract", "true")
    
    	// Download API.md from the archive
    	rd, err := s3Client.GetObject(context.Background(), "your-bucket", "path/to/file.zip/data.csv", opts)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	_, err = io.Copy(os.Stdout, rd)
    	if err != nil {
    		log.Fatalln(err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Viewed (0)
  8. internal/s3select/csv/record.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package csv
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"strconv"
    	"strings"
    
    	"github.com/bcicen/jstream"
    	csv "github.com/minio/csvparser"
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // Record - is a CSV record.
    type Record struct {
    	columnNames  []string
    	csvRecord    []string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Sep 13 00:00:59 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  9. internal/bucket/versioning/versioning_test.go

    	}
    	tests := []struct {
    		prefix   string
    		excluded bool
    	}{
    		{
    			prefix:   "app1-jobs/output/_temporary/attempt1/data.csv",
    			excluded: true,
    		},
    		{
    			prefix:   "app1-jobs/output/final/attempt1/data.csv",
    			excluded: false,
    		},
    	}
    
    	for i, test := range tests {
    		if v.PrefixSuspended(test.prefix) != test.excluded {
    			if test.excluded {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  10. internal/s3select/sql/value.go

    )
    
    // Value represents a value of restricted type reduced from an
    // expression represented by an ASTNode. Only one of the fields is
    // non-nil.
    //
    // In cases where we are fetching data from a data source (like csv),
    // the type may not be determined yet. In these cases, a byte-slice is
    // used.
    type Value struct {
    	value interface{}
    }
    
    // Missing is used to indicate a non-existing value.
    type Missing struct{}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
Back to top