XML Map Grouping Methods
The XML Map transform groups output items in different ways depending upon the columns specified and whether or not aggregation functions are used.
Grouping method |
Description |
|---|---|
Simple grouping |
The XML Map transform groups output items together according to the unique values of the grouping list when the following conditions are met:
In this grouping method, no items are removed from the output data set. |
Group aggregation |
The XML Map transform performs exactly like a standard SQL GROUP BY clause when the following conditions are met:
Note All columns in the output schema must be either part of the
grouping list or mapped to an aggregate function such as avg, count,
max, min, or sum. |
Instance aggregation |
The XML Map transform evaluated the aggregation functions for each of the items in the output data set when the following conditions are met:
The XML Map transform also evaluates the aggregation functions
for each of the items in the output data set when the following
conditions are met:
|