- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 421 for SELECT (0.22 sec)
-
clause/select.go
package clause // Select select attrs when querying, updating, creating type Select struct { Distinct bool Columns []Column Expression Expression } func (s Select) Name() string { return "SELECT" } func (s Select) Build(builder Builder) { if len(s.Columns) > 0 { if s.Distinct { builder.WriteString("DISTINCT ") } for idx, column := range s.Columns { if idx > 0 { builder.WriteByte(',')
Go - Registered: Sun Mar 24 09:35:10 GMT 2024 - Last Modified: Wed Jul 14 07:51:24 GMT 2021 - 1.1K bytes - Viewed (0) -
docs/select/select.py
aws_access_key_id='minio', aws_secret_access_key='minio123', region_name='us-east-1') 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", },
Python - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Sat Aug 18 00:11:39 GMT 2018 - 1K bytes - Viewed (0) -
internal/s3select/select.go
s2Type CompressionType = "S2" snappyType CompressionType = "SNAPPY" ) const ( maxRecordSize = 1 << 20 // 1 MiB ) var parquetSupport bool func init() { parquetSupport = env.Get("MINIO_API_SELECT_PARQUET", config.EnableOff) == config.EnableOn } var bufPool = sync.Pool{ New: func() interface{} { // make a buffer with a reasonable capacity. return bytes.NewBuffer(make([]byte, 0, maxRecordSize)) }, }
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Mon Nov 06 22:26:08 GMT 2023 - 21K bytes - Viewed (0) -
internal/s3select/select_test.go
mango`, }, { name: "Select column simplest", query: `select qty from S3Object`, wantResult: `1 3`, }, { name: "Select column with table name prefix", query: `select S3Object.qty from S3Object`, wantResult: `1 3`, }, { name: "Select column without table alias", query: `select qty from S3Object s`, wantResult: `1 3`, },
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Sat Dec 23 07:19:11 GMT 2023 - 76.2K bytes - Viewed (0) -
clause/select_test.go
}{ { []clause.Interface{clause.Select{}, clause.From{}}, "SELECT * FROM `users`", nil, }, { []clause.Interface{clause.Select{ Columns: []clause.Column{clause.PrimaryColumn}, }, clause.From{}}, "SELECT `users`.`id` FROM `users`", nil, }, { []clause.Interface{clause.Select{ Columns: []clause.Column{clause.PrimaryColumn}, }, clause.Select{ Columns: []clause.Column{{Name: "name"}},
Go - Registered: Sun Mar 24 09:35:10 GMT 2024 - Last Modified: Sat Feb 18 01:06:43 GMT 2023 - 1.7K bytes - Viewed (0) -
internal/s3select/select_benchmark_test.go
func BenchmarkSelectAll_10M(b *testing.B) { benchmarkSelectAll(b, 10*humanize.MiByte) } func benchmarkSingleCol(b *testing.B, count int) { benchmarkSelect(b, count, "select id from S3Object") } // BenchmarkSingleRow_100K - benchmark SELECT column function with 100k records. func BenchmarkSingleCol_100K(b *testing.B) { benchmarkSingleCol(b, 1e5) } // BenchmarkSelectAll_1M - benchmark * function with 1m records.
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Apr 14 13:54:47 GMT 2022 - 5K bytes - Viewed (0) -
clause/locking_test.go
Vars []interface{} }{ { []clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthUpdate}}, "SELECT * FROM `users` FOR UPDATE", nil, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Locking{Strength: clause.LockingStrengthShare, Table: clause.Table{Name: clause.CurrentTable}}}, "SELECT * FROM `users` FOR SHARE OF `users`", nil, }, {
Go - Registered: Sun Mar 24 09:35:10 GMT 2024 - Last Modified: Fri Dec 15 08:32:56 GMT 2023 - 1.2K bytes - Viewed (0) -
clause/where_test.go
[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{ Exprs: []clause.Expression{clause.Or(clause.Neq{Column: "name", Value: "jinzhu"}), clause.Eq{Column: clause.PrimaryColumn, Value: "1"}, clause.Gt{Column: "age", Value: 18}}, }}, "SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ? AND `age` > ?", []interface{}{"1", "jinzhu", 18}, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Where{
Go - Registered: Sun Mar 24 09:35:10 GMT 2024 - Last Modified: Tue Mar 05 02:23:51 GMT 2024 - 5.6K bytes - Viewed (0) -
tests/query_test.go
t.Fatalf("Build Select with slice, but got %v", r.Statement.SQL.String()) } // SELECT COALESCE(age,'42') FROM users; r = dryDB.Table("users").Select("COALESCE(age,?)", 42).Find(&User{}) if !regexp.MustCompile(`SELECT COALESCE\(age,.*\) FROM .*users.*`).MatchString(r.Statement.SQL.String()) { t.Fatalf("Build Select with func, but got %v", r.Statement.SQL.String()) } // named arguments
Go - Registered: Sun Mar 24 09:35:10 GMT 2024 - Last Modified: Fri Mar 15 06:14:48 GMT 2024 - 49.4K bytes - Viewed (0) -
docs/select/README.md
# Select API Quickstart Guide [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) Traditional retrieval of objects is always as whole entities, i.e GetObject for a 5 GiB object, will always return 5 GiB of data. S3 Select API allows us to retrieve a subset of data by using simple SQL expressions. By using Select API to retrieve only the data needed by the application, drastic performance improvements can be achieved.
Plain Text - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Sep 29 04:28:45 GMT 2022 - 6.5K bytes - Viewed (0)