Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for rows (0.14 sec)

  1. internal/s3select/sql/aggregation.go

    	case aggFnMin:
    		if !e.aggregate.seen {
    			// No rows were seen by MIN
    			return FromNull(), nil
    		}
    		return e.aggregate.runningMin, nil
    
    	case aggFnMax:
    		if !e.aggregate.seen {
    			// No rows were seen by MAX
    			return FromNull(), nil
    		}
    		return e.aggregate.runningMax, nil
    
    	case aggFnSum:
    		// TODO: check if returning 0 when no rows were seen
    		// by SUM is expected behavior.
    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)
  2. internal/s3select/sql/value.go

    	err := inferTypeForArithOp(a)
    	if err != nil {
    		return err
    	}
    
    	if !a.isNumeric() {
    		return errArithMismatchedTypes
    	}
    
    	// In case of first row, set v to a.
    	if isFirstRow {
    		intA, okI := a.ToInt()
    		if okI {
    			v.setInt(intA)
    			return nil
    		}
    		floatA, _ := a.ToFloat()
    		v.setFloat(floatA)
    		return nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/analysis.go

    // Aggregation functions - An expression that involves aggregation of
    // rows in some manner. Requires all input rows to be processed,
    // before a result is returned.
    //
    // Row function - An expression that depends on a value in the
    // row. They have an output for each input row.
    //
    // Some types of a queries are not valid. For example, an aggregation
    // function combined with a row function is meaningless ("AVG(s.Age) +
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. docs/bucket/notifications/README.md

    We will now enable bucket event notifications on a bucket named `images`. Whenever a JPEG image is created/overwritten, a new row is added or an existing row is updated in the PostgreSQL configured above. When an existing object is deleted, the corresponding row is deleted from the PostgreSQL table. Thus, the rows in the PostgreSQL table, reflect the `.jpg` objects in the `images` bucket.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  5. internal/s3select/sql/evaluate.go

    // e.prop.isAggregation is true), we call evalNode on all child nodes,
    // check for errors, but do not perform any combining of the results
    // of child nodes. The final result row is returned after all rows are
    // processed, and the `getAggregate` function is called.
    
    func (e *AliasedExpression) evalNode(r Record, tableAlias string) (*Value, error) {
    	return e.Expression.evalNode(r, tableAlias)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  6. internal/s3select/sql/statement.go

    	selectAST *Select
    
    	// Analysis result of the statement
    	selectQProp qProp
    
    	// Result of parsing the limit clause if one is present
    	// (otherwise -1)
    	limitValue int64
    
    	// Count of rows that have been output.
    	outputCount int64
    
    	// Table alias
    	tableAlias string
    }
    
    // ParseSelectStatement - parses a select query from the given string
    // and analyzes it.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  7. internal/event/target/mysql.go

                 value JSON)
               CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;`
    	mysqlCreateAccessTable = `CREATE TABLE %s (event_time DATETIME NOT NULL, event_data JSON)
                                        ROW_FORMAT = Dynamic;`
    
    	mysqlUpdateRow = `INSERT INTO %s (key_name, value) VALUES (?, ?) ON DUPLICATE KEY UPDATE value=VALUES(value);`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  8. cmd/prepare-storage.go

    				return
    			}
    		}
    		// Once is set and we are here means error was already
    		// printed once.
    		if once {
    			return
    		}
    		// once not set, check if same error occurred 3 times in
    		// a row, then make sure we print it to call attention.
    		if m[err.Error()] > 2 {
    			peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top