Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for SELECT (0.21 sec)

  1. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  2. 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 May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  3. cmd/iam.go

    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.GetBucketUsers(bucket)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // ListUsers - list all users.
    func (sys *IAMSys) ListUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    	select {
    	case <-sys.configLoaded:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. tensorflow/BUILD

    cc_library(
        name = "grpc",
        visibility = ["//visibility:public"],
        deps = select({
            "//conditions:default": ["@com_github_grpc_grpc//:grpc"],
        }),
    )
    
    cc_library(
        name = "grpc++",
        visibility = ["//visibility:public"],
        deps = select({
            "//conditions:default": ["@com_github_grpc_grpc//:grpc++"],
        }),
    )
    # copybara:comment_end
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  5. cmd/api-errors.go

    		Description:    "Other expressions are not allowed in the SELECT list when '*' is used without dot notation in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseCannotMixSqbAndWildcardInSelectList: {
    		Code:           "ParseCannotMixSqbAndWildcardInSelectList",
    		Description:    "Cannot mix [] and * in the same expression in a SELECT list in SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  6. cmd/batch-handlers.go

    			batchLogIf(ctx, err)
    			continue
    		}
    	}
    }
    
    // AddWorker adds a replication worker to the pool
    func (j *BatchJobPool) AddWorker() {
    	if j == nil {
    		return
    	}
    	for {
    		select {
    		case <-j.ctx.Done():
    			return
    		case job, ok := <-j.jobCh:
    			if !ok {
    				return
    			}
    			switch {
    			case job.Replicate != nil:
    				if job.Replicate.RemoteToLocal() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    				lastUpdate = allMerged.Info.LastUpdate
    			}
    		}
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case v := <-updateCloser:
    				update()
    				xioutil.SafeClose(v)
    				return
    			case <-updateTicker.C:
    				update()
    			}
    		}
    	}()
    
    	wg.Wait()
    	ch := make(chan struct{})
    	select {
    	case updateCloser <- ch:
    		<-ch
    	case <-ctx.Done():
    		mu.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    			r.Exists = true
    			r.Error = fmt.Sprintf("max size (%d) exceeded: %d", req.MaxSize, len(data))
    			select {
    			case <-ctx.Done():
    				return ctx.Err()
    			case resp <- r:
    				continue
    			}
    		}
    		found++
    		r.Exists = true
    		r.Data = data
    		r.Modtime = mt
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		case resp <- r:
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	// We have however a dynamic downstream buffer (ch).
    	buf := bytes.NewBuffer(grid.GetByteBuffer())
    	enc := json.NewEncoder(buf)
    	tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    	for {
    		select {
    		case <-ctx.Done():
    			grid.PutByteBuffer(buf.Bytes())
    			return nil
    		case ev := <-ch:
    			buf.Reset()
    			tmpEvt.Records[0] = ev
    			if err := enc.Encode(tmpEvt); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    					}
    				}
    			}
    			// Validate Istio's "Service association" requirement
    			if len(matchingServices) == 0 && !ignoreUnmeshed {
    				fmt.Fprintf(cmd.OutOrStdout(),
    					"Warning: No Kubernetes Services select pod %s (see https://istio.io/docs/setup/kubernetes/additional-setup/requirements/ )\n", // nolint: lll
    					kname(pod.ObjectMeta))
    			}
    			// TODO look for port collisions between services targeting this pod
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top