Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AggregateRow (0.05 sec)

  1. internal/s3select/sql/statement.go

    	}
    
    	return b, nil
    }
    
    // AggregateRow - aggregates the input record. Applies only to
    // aggregation queries.
    func (e *SelectStatement) AggregateRow(input Record) error {
    	ok, err := e.isPassingWhereClause(input)
    	if err != nil {
    		return err
    	}
    	if !ok {
    		return nil
    	}
    
    	for _, expr := range e.selectAST.Expression.Expressions {
    		err := expr.aggregateRow(input, e.tableAlias)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    			break
    		}
    
    		for _, inputRecord := range inputRecords {
    			if s3Select.statement.IsAggregated() {
    				if err = s3Select.statement.AggregateRow(*inputRecord); err != nil {
    					break OuterLoop
    				}
    			} else {
    				var outputRecord sql.Record
    				// We will attempt to reuse the records in the table.
    				// The type of these should not change.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top