Cogroup Use Case - 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

Cogrouping allows SQL-MapReduce functions to be applied to related groups of information derived from different data sets. The different data inputs are grouped into a nested structure using a cogroup function before the SQL-MapReduce function operates on them.

An example of a cogroup use case is a web store that wants to know how much sales revenue to attribute to advertisements, based on web page views (impressions) and clicks leading to a purchase. This type of result cannot be easily computed using SQL or SQL-MapReduce capabilities without multiple data inputs. The multiple data inputs in this case are the logs from the web store and the logs from the ad server.