Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AggregateResult (0.12 sec)

  1. internal/s3select/sql/statement.go

    func (e *SelectStatement) IsAggregated() bool {
    	return e.selectQProp.isAggregation
    }
    
    // AggregateResult - returns the aggregated result after all input
    // records have been processed. Applies only to aggregation queries.
    func (e *SelectStatement) AggregateResult(output Record) error {
    	for i, expr := range e.selectAST.Expression.Expressions {
    		v, err := expr.evalNode(nil, e.tableAlias)
    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

    			if err != io.EOF {
    				break
    			}
    
    			if s3Select.statement.IsAggregated() {
    				outputRecord := s3Select.outputRecord()
    				if err = s3Select.statement.AggregateResult(outputRecord); err != nil {
    					break
    				}
    				outputQueue = append(outputQueue, outputRecord)
    			}
    
    			if !sendRecord() {
    				break
    			}
    
    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