Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for column (0.17 sec)

  1. internal/s3select/csv/reader.go

    				r.err = errCSVParsingError(err)
    				return errCSVParsingError(err)
    			}
    			return err
    		}
    
    		if r.args.FileHeaderInfo == use {
    			// Copy column names since records will be reused.
    			columns := append(make([]string, 0, len(record)), record...)
    			r.columnNames = columns
    		}
    	}
    
    	r.bufferPool.New = func() interface{} {
    		return make([]byte, csvSplitSize+1024)
    	}
    
    	// Return first block
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    		wantResult string
    	}{
    		{
    			name:  "Select a column containing dot",
    			query: `select "na.me" from S3Object s`,
    			wantResult: `apple
    mango`,
    		},
    		{
    			name:       "Select column containing dot with table name prefix",
    			query:      `select count(S3Object."na.me") from S3Object`,
    			wantResult: `2`,
    		},
    		{
    			name:  "Select column containing dot with table alias prefix",
    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)
  3. cmd/batch-expire.go

    	type purge BatchJobExpirePurge
    	var tmp purge
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*p = BatchJobExpirePurge(tmp)
    	p.line, p.col = val.Line, val.Column
    	return nil
    }
    
    // Validate returns nil if value is valid, ie > 0.
    func (p BatchJobExpirePurge) Validate() error {
    	if p.RetainVersions < 0 {
    		return BatchJobYamlErr{
    			line: p.line,
    			col:  p.col,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrEvaluatorBindingDoesNotExist: {
    		Code:           "ErrEvaluatorBindingDoesNotExist",
    		Description:    "A column name or a path provided does not exist in the SQL expression",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingHeaders: {
    		Code:           "MissingHeaders",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  5. cmd/signature-v4-utils.go

    		defaultSha256Cksum = emptySHA256
    		v, ok = r.Header[xhttp.AmzContentSha256]
    	}
    
    	// We found 'X-Amz-Content-Sha256' return the captured value.
    	if ok {
    		return v[0]
    	}
    
    	// We couldn't find 'X-Amz-Content-Sha256'.
    	return defaultSha256Cksum
    }
    
    // isValidRegion - verify if incoming region value is valid with configured Region.
    func isValidRegion(reqRegion string, confRegion string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. cmd/batch-job-common-types.go

    // UnmarshalYAML - BatchJobNotification extends unmarshal to extract line, column information
    func (b *BatchJobNotification) UnmarshalYAML(val *yaml.Node) error {
    	type notification BatchJobNotification
    	var tmp notification
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*b = BatchJobNotification(tmp)
    	b.line, b.col = val.Line, val.Column
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    		// healed upon regular heal process.
    		if missingBlocks > 0 && missingBlocks < fi.Erasure.DataBlocks {
    			globalMRFState.addPartialOp(partialOperation{
    				bucket:    fi.Volume,
    				object:    fi.Name,
    				versionID: fi.VersionID,
    				queued:    time.Now(),
    				setIndex:  er.setIndex,
    				poolIndex: er.poolIndex,
    			})
    		}
    
    		return
    	}()
    
    	validResp := 0
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. cmd/storage-rest-client.go

    func (client *storageRESTClient) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    	return errInvalidArgument
    }
    
    // AppendFile - append to a file.
    func (client *storageRESTClient) AppendFile(ctx context.Context, volume string, path string, buf []byte) error {
    	values := make(url.Values)
    	values.Set(storageRESTVolume, volume)
    	values.Set(storageRESTFilePath, path)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	return info, err
    }
    
    // getVolDir - will convert incoming volume names to
    // corresponding valid volume names on the backend in a platform
    // compatible way for all operating systems. If volume is not found
    // an error is generated.
    func (s *xlStorage) getVolDir(volume string) (string, error) {
    	if volume == "" || volume == "." || volume == ".." {
    		return "", errVolumeNotFound
    	}
    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)
  10. cmd/storage-rest-server.go

    		return grid.NewNPErr(errDiskNotFound)
    	}
    	volume := p.Volume
    	filePath := p.FilePath
    	return grid.NewNPErr(s.getStorage().CheckParts(context.Background(), volume, filePath, p.FI))
    }
    
    func (s *storageRESTServer) WriteAllHandler(p *WriteAllHandlerParams) (grid.NoPayload, *grid.RemoteErr) {
    	if !s.checkID(p.DiskID) {
    		return grid.NewNPErr(errDiskNotFound)
    	}
    
    	volume := p.Volume
    	filePath := p.FilePath
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
Back to top