Additional Processing Methods for Decomposable Aggregate Functions - Aster Execution Engine

Teradata Aster® Developer Guide

Product
Aster Execution Engine
Release Number
7.00.02
Published
July 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
xnl1494366523182.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
ffu1489104705746
lifecycle
previous
Product Category
Software

In addition to the methods described in the above table, a decomposable aggregate function contains these additional methods:

SqlmrErrorH (*getPartialRow)(
      SqlmrTaskContextH taskContext,
      void* customContext,
      SqlmrRowViewH* output
) SQLMR_ERROR_RESULT;

SqlmrErrorH (*aggregatePartialRow)(
      SqlmrTaskContextH taskContext,
      void* customContext,
      SqlmrRowViewH input
) SQLMR_ERROR_RESULT;

This table describes the member methods:

Member Methods Description
Method Description
getPartialRow Gets the partial form of the aggregated value.
aggregatePartialRow Aggregates a partial row computed by aggregateRow with in function instance.