Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/s3select/sql/aggregation.go

    }
    
    func (e *AliasedExpression) aggregateRow(r Record, tableAlias string) error {
    	return e.Expression.aggregateRow(r, tableAlias)
    }
    
    func (e *Expression) aggregateRow(r Record, tableAlias string) error {
    	for _, ex := range e.And {
    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *ListExpr) aggregateRow(r Record, tableAlias string) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. 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)
Back to top