Aggregation (DB)
Performs aggregate calculations on a data set by specifying a group-by configuration and an aggregate expression.
Information at a Glance
Parameter |
Description |
---|---|
Category | Transform |
Data source type | DB |
Send output to other operators | Yes |
Data processing tool | n/a |
The Aggregation operator also supports the ability to define window fields.
Input
A data set from the preceding operator.
Bad or Missing Values
Null values are not allowed and result in an error.
Before using this operator, you can filter out null values or use the Null Value Replacement (DB) operator to replace them with a compatible value.
Configuration
Parameter | Description |
---|---|
Notes | Notes or helpful information about this operator's parameter settings. When you enter content in the Notes field, a yellow asterisk appears on the operator. |
Aggregates | Specify the
Group By and
Aggregators fields.
To display the Define Column Aggregations dialog, click Define Aggregations. |
Window Field List | Specifies window columns, associated window function expressions, and the window
OVER specifications for the aggregate data set.
A window column is calculated from aggregate data by assessing the values for all other data source columns first, then walking through the results and, based on the groups of records, calculating a new value for each group. This is helpful, for example, when sorting data by percent of the total or ranking data groups. To display the Window Column Configuration dialog, click Window Field List. For more information, see Window Column Configuration dialog. |
Output Type |
|
Output Schema | The schema for the output table or view. |
Output Table | Specify the table path and name where the output of the results is generated. By default, this is a unique table name based on your user ID, workflow ID, and operator. |
Storage Parameters | Advanced database settings for the operator output. Available only for
TABLE output.
See Storage Parameters dialog for more information. |
Drop If Exists | Specifies whether to overwrite an existing table.
|