Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Clauses (0.19 sec)

  1. internal/s3select/sql/stringfuncs.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sql
    
    import (
    	"errors"
    	"strings"
    )
    
    var (
    	errMalformedEscapeSequence  = errors.New("Malformed escape sequence in LIKE clause")
    	errInvalidTrimArg           = errors.New("Trim argument is invalid - this should not happen")
    	errInvalidSubstringIndexLen = errors.New("Substring start index or length falls outside the string")
    )
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  2. docs/config/README.md

    ### Usage scanner
    
    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)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedWhenClause: {
    		Code:           "ParseExpectedWhenClause",
    		Description:    "Did not find the expected WHEN clause in the SQL expression. CASE is not supported.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseUnsupportedToken: {
    		Code:           "ParseUnsupportedToken",
    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)
  4. internal/s3select/sql/parser.go

    // Expression represents a logical disjunction of clauses
    type Expression struct {
    	And []*AndCondition `parser:"@@ ( \"OR\" @@ )*"`
    }
    
    // ListExpr represents a literal list with elements as expressions.
    type ListExpr struct {
    	Elements []*Expression `parser:"\"(\" @@ ( \",\" @@ )* \")\" | \"[\" @@ ( \",\" @@ )* \"]\""`
    }
    
    // AndCondition represents logical conjunction of clauses
    type AndCondition struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. docs/erasure/storage-class/README.md

    ## Overview
    
    MinIO supports two storage classes, Reduced Redundancy class and Standard class. These classes can be defined using environment variables
    set before starting MinIO server. After the data and parity drives for each storage class are defined using environment variables,
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  6. docs/erasure/README.md

    By default, MinIO shards the objects across N/2 data and N/2 parity drives. Though, you can use [storage classes](https://github.com/minio/minio/tree/master/docs/erasure/storage-class) to use a custom configuration. We recommend N/2 data and parity blocks, as it ensures the best protection from drive failures.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  7. internal/s3select/sql/utils.go

    	}
    	ps := jpath.String()
    	if idx := strings.LastIndex(ps, "."); idx >= 0 {
    		// Get last part of path string.
    		ps = ps[idx+1:]
    	}
    	return ps, true
    }
    
    // HasKeypath returns if the from clause has a key path -
    // e.g. S3object[*].id
    func (from *TableExpression) HasKeypath() bool {
    	return len(from.Table.PathExpr) > 1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  8. cmd/speedtest.go

    				// when Writes() scale higher than Reads()
    				// - practically speaking this never happens
    				// and should never happen - however it has
    				// been seen recently due to hardware issues
    				// causes Reads() to go slower than Writes().
    				//
    				// Send such results anyways as this shall
    				// expose a problem underneath.
    				if totalPut > throughputHighestPut {
    					throughputHighestResults = results
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. internal/config/storageclass/storage-class.go

    			return Config{}, err
    		}
    	} else {
    		cfg.RRS.Parity = defaultRRSParity
    		if setDriveCount == 1 {
    			cfg.RRS.Parity = 0
    		}
    	}
    
    	// Validation is done after parsing both the storage classes. This is needed because we need one
    	// storage class value to deduce the correct value of the other storage class.
    	if err = validateParity(cfg.Standard.Parity, cfg.RRS.Parity, setDriveCount); err != nil {
    		return Config{}, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    	} else {
    		handler = c.handlers.subSingle[*subID]
    	}
    	if handler == nil {
    		gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: "Invalid Handler for type"}))
    		return
    	}
    
    	// TODO: This causes allocations, but escape analysis doesn't really show the cause.
    	// If another faithful engineer wants to take a stab, feel free.
    	go func(m message) {
    		var start time.Time
    		if m.DeadlineMS > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top