Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for evaluate (5.63 sec)

  1. internal/s3select/sql/evaluate.go

    func (e *ConditionOperand) evalNode(r Record, tableAlias string) (*Value, error) {
    	opVal, opErr := e.Operand.evalNode(r, tableAlias)
    	if opErr != nil || e.ConditionRHS == nil {
    		return opVal, opErr
    	}
    
    	// Need to evaluate the ConditionRHS
    	switch {
    	case e.ConditionRHS.Compare != nil:
    		cmpRight, cmpRErr := e.ConditionRHS.Compare.Operand.evalNode(r, tableAlias)
    		if cmpRErr != nil {
    			return nil, cmpRErr
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. cmd/iam.go

    	}
    
    	// 3. If an inline session-policy is present, evaluate it.
    	hasSessionPolicy, isAllowedSP := isAllowedBySessionPolicyForServiceAccount(args)
    	if hasSessionPolicy {
    		return isAllowedSP && (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    	}
    
    	// Sub policy not set. Evaluate only the parent policies.
    	return (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    }
    
    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)
  3. internal/s3select/select_test.go

    			if len(testCase.withJSON) > 0 {
    				in = testCase.withJSON
    			}
    			if err = s3Select.Open(newStringRSC(in)); err != nil {
    				t.Fatal(err)
    			}
    
    			w := &testResponseWriter{}
    			s3Select.Evaluate(w)
    			s3Select.Close()
    			resp := http.Response{
    				StatusCode:    http.StatusOK,
    				Body:          io.NopCloser(bytes.NewReader(w.response)),
    				ContentLength: int64(len(w.response)),
    			}
    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)
  4. cmd/object-handlers.go

    		w.Header().Set(xhttp.AmzServerSideEncryptionCustomerKeyMD5, r.Header.Get(xhttp.AmzServerSideEncryptionCustomerKeyMD5))
    	}
    
    	s3Select.Evaluate(w)
    
    	// Notify object accessed via a GET request.
    	sendEvent(eventArgs{
    		EventName:    event.ObjectAccessedGet,
    		BucketName:   bucket,
    		Object:       objInfo,
    		ReqParams:    extractReqParams(r),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  5. internal/s3select/sql/jsonpath.go

    	errWildcardArrayLookup        = errors.New("Array wildcard used on non-array value")
    	errWildcardObjectUsageInvalid = errors.New("Invalid usage of object wildcard")
    )
    
    // jsonpathEval evaluates a JSON path and returns the value at the path.
    // If the value should be considered flat (from wildcards) any array returned should be considered individual values.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    					// opts.DeletePrefix is used only in the above lifecycle Expiration actions.
    				default:
    					// object has been modified since lifecycle action was previously evaluated
    					isErr = true
    				}
    				if isErr {
    					if goi.VersionID != "" {
    						return goi, VersionNotFound{
    							Bucket:    bucket,
    							Object:    object,
    							VersionID: goi.VersionID,
    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)
  7. docs/compression/README.md

    Therefore, compression is disabled when encrypting by default, and must be enabled separately.
    
    Consult our security experts on [SUBNET](https://min.io/pricing) to help you evaluate if
    your setup can use this feature combination safely.
    
    To enable compression+encryption use:
    
    ```bash
    ~ mc admin config set myminio compression allow_encryption=on
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  8. internal/s3select/sql/aggregation.go

    		if e.Count.StarArg {
    			// Handle COUNT(*)
    			e.aggregate.runningCount++
    			return nil
    		}
    
    		val, err = e.Count.ExprArg.evalNode(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	} else {
    		// Evaluate the (only) argument
    		val, err = e.SFunc.ArgsList[0].evalNode(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    
    	if val.IsNull() {
    		// E.g. the column or field does not exist in the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/ldap.go

    	if err != nil {
    		return nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return nil, err
    	}
    
    	// Evaluate the filter again with generic wildcard instead of  specific values
    	filter := strings.ReplaceAll(l.LDAP.UserDNSearchFilter, "%s", "*")
    
    	nonExistentUsers := []string{}
    	for _, dn := range userDistNames {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser.go

    // (i.e. enclosed in parentheses like `IN (1,2,4)`) or it could be a JSON path
    // expression (as in `8.5 IN s.nested[*][*]`). Specifically, it cannot be an
    // `Expression` as an expression can never evaluate to a list.
    type In struct {
    	JPathExpr *JSONPath `parser:"@@"`
    	ListExpr  *ListExpr `parser:"| @@"`
    }
    
    // Grammar for Operand:
    //
    // operand → multOp ( ("-" | "+") multOp )*
    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)
Back to top